aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h12
1 files changed, 6 insertions, 6 deletions
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<const DimensionList<Index, Rank> > {
#else
template <typename Index, std::size_t Rank>
-struct index_known_statically<DimensionList<Index, Rank> > {
- EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex) const {
+struct index_known_statically_impl<DimensionList<Index, Rank> > {
+ static EIGEN_ALWAYS_INLINE bool run(const DenseIndex) {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct index_known_statically<const DimensionList<Index, Rank> > {
- EIGEN_ALWAYS_INLINE bool operator() (const DenseIndex) const {
+struct index_known_statically_impl<const DimensionList<Index, Rank> > {
+ static EIGEN_ALWAYS_INLINE bool run(const DenseIndex) {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct all_indices_known_statically<DimensionList<Index, Rank> > {
+struct all_indices_known_statically_impl<DimensionList<Index, Rank> > {
EIGEN_ALWAYS_INLINE bool operator() () const {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct all_indices_known_statically<const DimensionList<Index, Rank> > {
+struct all_indices_known_statically_impl<const DimensionList<Index, Rank> > {
EIGEN_ALWAYS_INLINE bool operator() () const {
return true;
}