aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 08:30:10 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 08:30:10 -0800
commitaa5f1ca714bacdd2e25772977eac241cafc18162 (patch)
treea7ce94e9ecfc8458b5622fbb29b26911a1af2ec9 /unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
parentdfbb889fe9e0e8d117d6634a00c2b1c4a7c3fd3b (diff)
gen_numeric_list takes a size_t, not a int
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
index 3952e733c..785321666 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h
@@ -110,7 +110,7 @@ namespace internal{
}
/** Make an array (for index/dimensions) out of a custom index */
- template<typename Index, int NumIndices, typename IndexType>
+ template<typename Index, std::size_t NumIndices, typename IndexType>
EIGEN_CONSTEXPR EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
array<Index, NumIndices> customIndices2Array(IndexType& idx) {
return customIndices2Array(idx, typename gen_numeric_list<Index, NumIndices>::type{});