aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 18:37:40 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 18:37:40 -0800
commitbe08e8295357ca21eaa2623cfc0cbbdeb231ae37 (patch)
tree2ff4ec65d4798888902eb646565cac52e74d6b4c /unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
parente4d45f3440013666eb26860a7912e6d7e594ee6c (diff)
Fixed typos
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h')
-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;
}