diff options
author | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-09-15 02:36:19 +0000 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2018-09-15 02:36:19 +0000 |
commit | c2383f95af1d3f32ab1784c1e4a6c65b4a6eb662 (patch) | |
tree | 68fa7e80f11ab1328c7cf35c7fe0d55e177972b8 /unsupported/Eigen | |
parent | 30290cdd56e5443d1e22cea7a12f9ed99d2508cf (diff) | |
parent | f7d0053cf04bcafe2f784aa4ae0cbf3342e2d500 (diff) |
Merged in ezhulenev/eigen/fix_dsizes (pull request PR-494)
Fix DSizes IndexList constructor
Diffstat (limited to 'unsupported/Eigen')
-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]; |