aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2018-09-15 02:36:19 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2018-09-15 02:36:19 +0000
commitc2383f95af1d3f32ab1784c1e4a6c65b4a6eb662 (patch)
tree68fa7e80f11ab1328c7cf35c7fe0d55e177972b8 /unsupported/Eigen/CXX11/src
parent30290cdd56e5443d1e22cea7a12f9ed99d2508cf (diff)
parentf7d0053cf04bcafe2f784aa4ae0cbf3342e2d500 (diff)
Merged in ezhulenev/eigen/fix_dsizes (pull request PR-494)
Fix DSizes IndexList constructor
Diffstat (limited to 'unsupported/Eigen/CXX11/src')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h2
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];