aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-07-16 13:14:18 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-07-16 13:14:18 -0700
commit7a243959b471634adc96caa98157c09e351b655c (patch)
tree298721221e4a1dad39838baade7b82c844261ab3 /unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
parentb756f6af5e776a9809b3b0ba0883769509eda126 (diff)
Define EIGEN_HAS_INDEX_LIST whenever the class is defined. This makes it easier to support compilers that are cxx11 compliant and compilers that aren't.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
index 620b6a8cb..d6c81a7a7 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
@@ -12,6 +12,8 @@
#if defined(EIGEN_HAS_CONSTEXPR) && defined(EIGEN_HAS_VARIADIC_TEMPLATES)
+#define EIGEN_HAS_INDEX_LIST
+
namespace Eigen {
/** \internal