diff options
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]; |