diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2018-09-14 19:19:13 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2018-09-14 19:19:13 -0700 |
commit | f7d0053cf04bcafe2f784aa4ae0cbf3342e2d500 (patch) | |
tree | 9b7c24f07b67d9e9931fe989260a8a490f8762c9 /unsupported | |
parent | 601e289d2753fe6be065c8338413e95b2b77a889 (diff) |
Fix DSizes IndexList constructor
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index fe0d57f31..94871ef43 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -291,8 +291,8 @@ struct DSizes : array<DenseIndex, NumDims> { } #ifdef EIGEN_HAS_INDEX_LIST - EIGEN_DEVICE_FUNC template <typename FirstType, typename... OtherTypes> + EIGEN_DEVICE_FUNC DSizes(const Eigen::IndexList<FirstType, OtherTypes...>& dimensions) { for (int i = 0; i < dimensions.count; ++i) { (*this)[i] = dimensions[i]; |