diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-05-28 10:14:38 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-05-28 10:14:38 -0700 |
commit | 0e5fed74e7ab6f55ff5d4a0fcf88b0e18991e4e8 (patch) | |
tree | fb8600cca46058014f79aa0f89d84ef937963a88 /unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | |
parent | f13b3d4433bca0670fd57e41808d331b1ddfb1d8 (diff) |
Worked around some constexpr related bugs in nvcc 7
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h index eed0a9f05..620b6a8cb 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h @@ -10,7 +10,7 @@ #ifndef EIGEN_CXX11_TENSOR_TENSOR_INDEX_LIST_H #define EIGEN_CXX11_TENSOR_TENSOR_INDEX_LIST_H -#ifdef EIGEN_HAS_CONSTEXPR +#if defined(EIGEN_HAS_CONSTEXPR) && defined(EIGEN_HAS_VARIADIC_TEMPLATES) namespace Eigen { |