From 150c12e138ab372d7f43ce19b260acd36ede9fc3 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 12 Nov 2015 18:11:56 -0800 Subject: Completed the IndexList rewrite --- unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h index 206808245..170dacb98 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h @@ -46,27 +46,27 @@ template const Index array_get(c #if defined(EIGEN_HAS_CONSTEXPR) template -struct index_known_statically > { - constexpr bool operator() (const DenseIndex) const { +struct index_known_statically_impl > { + static constexpr bool run(const DenseIndex) { return true; } }; template -struct index_known_statically > { - constexpr bool operator() (const DenseIndex) const { +struct index_known_statically_impl > { + static constexpr bool run(const DenseIndex) { return true; } }; template -struct all_indices_known_statically > { - constexpr bool operator() () const { +struct all_indices_known_statically_impl > { + static constexpr bool run() { return true; } }; template -struct all_indices_known_statically > { - constexpr bool operator() () const { +struct all_indices_known_statically_impl > { + static constexpr bool run() { return true; } }; -- cgit v1.2.3