diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-05-20 15:05:38 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-05-20 15:05:38 +0200 |
commit | c3410804cdaa8d4ce16d8269e86228eb8a2caf3b (patch) | |
tree | 46bd230f018dce918b3d834ac90d498b90db1297 /unsupported/Eigen/CXX11/src/Tensor/TensorRef.h | |
parent | abd1c1af7a568b067ca8cec8b8345a7a6f9d2c28 (diff) |
Make EIGEN_HAS_VARIADIC_TEMPLATES user configurable
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorRef.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorRef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h b/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h index bc92d9e6d..99245f778 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h @@ -193,7 +193,7 @@ template<typename PlainObjectType> class TensorRef : public TensorBase<TensorRef return m_evaluator->coeff(index); } -#ifdef EIGEN_HAS_VARIADIC_TEMPLATES +#if EIGEN_HAS_VARIADIC_TEMPLATES template<typename... IndexTypes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator()(Index firstIndex, IndexTypes... otherIndices) const { |