diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h index 170dacb98..e3074734b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h @@ -138,26 +138,26 @@ struct index_statically_lt_impl > { #else template -struct index_known_statically > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex) const { +struct index_known_statically_impl > { + static EIGEN_ALWAYS_INLINE bool run(const DenseIndex) { return true; } }; template -struct index_known_statically > { - EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex) const { +struct index_known_statically_impl > { + static EIGEN_ALWAYS_INLINE bool run(const DenseIndex) { return true; } }; template -struct all_indices_known_statically > { +struct all_indices_known_statically_impl > { EIGEN_ALWAYS_INLINE bool operator() () const { return true; } }; template -struct all_indices_known_statically > { +struct all_indices_known_statically_impl > { EIGEN_ALWAYS_INLINE bool operator() () const { return true; }