From 7a243959b471634adc96caa98157c09e351b655c Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 16 Jul 2015 13:14:18 -0700 Subject: 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. --- unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h') 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 -- cgit v1.2.3