aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-05-28 10:14:38 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-05-28 10:14:38 -0700
commit0e5fed74e7ab6f55ff5d4a0fcf88b0e18991e4e8 (patch)
treefb8600cca46058014f79aa0f89d84ef937963a88 /unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h
parentf13b3d4433bca0670fd57e41808d331b1ddfb1d8 (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.h2
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 {