aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_map.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-01-22 15:03:53 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-01-22 15:03:53 +0100
commit6a44ccb58b81771cc8438af20e5bf44de3d8c932 (patch)
treea7d0ad71ff004ba8e75f0f0746bcfab79e6f0891 /unsupported/test/cxx11_tensor_map.cpp
parent06971223efda38924832d86650ee1d4af6984344 (diff)
Diffstat (limited to 'unsupported/test/cxx11_tensor_map.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_map.cpp b/unsupported/test/cxx11_tensor_map.cpp
index dc0f8a5a2..a8a095e38 100644
--- a/unsupported/test/cxx11_tensor_map.cpp
+++ b/unsupported/test/cxx11_tensor_map.cpp
@@ -130,7 +130,7 @@ static void test_3d()
}
TensorMap<Tensor<const int, 3>> mat3(mat1.data(), 2, 3, 7);
- TensorMap<Tensor<const int, 3, RowMajor>> mat4(mat2.data(), array<DenseIndex, 3>{2, 3, 7});
+ TensorMap<Tensor<const int, 3, RowMajor>> mat4(mat2.data(), array<DenseIndex, 3>{{2, 3, 7}});
VERIFY_IS_EQUAL(mat3.rank(), 3);
VERIFY_IS_EQUAL(mat3.size(), 2*3*7);