diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-01-22 15:03:53 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-01-22 15:03:53 +0100 |
commit | 6a44ccb58b81771cc8438af20e5bf44de3d8c932 (patch) | |
tree | a7d0ad71ff004ba8e75f0f0746bcfab79e6f0891 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | |
parent | 06971223efda38924832d86650ee1d4af6984344 (diff) |
Backout changeset 690bc950f70c61075d396671e63480bbd64bb297
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h')
-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 06cac3570..52569a359 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -289,7 +289,7 @@ struct DSizes : array<DenseIndex, NumDims> { template<typename... IndexTypes> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit DSizes(DenseIndex firstDimension, IndexTypes... otherDimensions) { EIGEN_STATIC_ASSERT(sizeof...(otherDimensions) + 1 == NumDims, YOU_MADE_A_PROGRAMMING_MISTAKE) - (*this) = array<DenseIndex, NumDims>{firstDimension, otherDimensions...}; + (*this) = array<DenseIndex, NumDims>{{firstDimension, otherDimensions...}}; } #else EIGEN_DEVICE_FUNC explicit DSizes(const DenseIndex i0) { |