Make EIGEN_HAS_CONSTEXPR user configurable

This commit is contained in:
Gael Guennebaud
2016-05-20 15:10:08 +02:00
parent c3410804cd
commit ccaace03c9
7 changed files with 17 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ static void test_static_broadcasting()
Tensor<float, 3, DataLayout> tensor(8,3,5);
tensor.setRandom();
#ifdef EIGEN_HAS_CONSTEXPR
#if EIGEN_HAS_CONSTEXPR
Eigen::IndexList<Eigen::type2index<2>, Eigen::type2index<3>, Eigen::type2index<4>> broadcasts;
#else
Eigen::array<int, 3> broadcasts;