diff options
author | Jan Prach <anonymous@invalid.net> | 2016-01-20 19:35:59 -0800 |
---|---|---|
committer | Jan Prach <anonymous@invalid.net> | 2016-01-20 19:35:59 -0800 |
commit | 690bc950f70c61075d396671e63480bbd64bb297 (patch) | |
tree | 22982eda5c8ccbf04e3ed8635ab03b19d9c586d9 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | |
parent | f2a842294f9cc104cedd9b9861f194ec172fc622 (diff) |
fix clang warnings
"braces around scalar initializer"
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 52569a359..06cac3570 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) { |