diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-05-20 15:10:08 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-05-20 15:10:08 +0200 |
commit | ccaace03c90b9d9952889a2b8f133a6e7ab86223 (patch) | |
tree | dfe0afc3362d0a63cca45790e6d48fa017d07e73 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h | |
parent | c3410804cdaa8d4ce16d8269e86228eb8a2caf3b (diff) |
Make EIGEN_HAS_CONSTEXPR user configurable
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h index ca9ac79df..1a30e45fb 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h @@ -44,7 +44,7 @@ template<DenseIndex n, typename Index, std::size_t Rank> const Index array_get(c } -#if defined(EIGEN_HAS_CONSTEXPR) +#if EIGEN_HAS_CONSTEXPR template <typename Index, std::size_t Rank> struct index_known_statically_impl<DimensionList<Index, Rank> > { EIGEN_DEVICE_FUNC static constexpr bool run(const DenseIndex) { |