aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_concatenation.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-02-27 23:51:16 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-02-27 23:51:16 -0800
commit78732186ee46439d9e03923372cf396264f40642 (patch)
treefdc49c685e7e22785e1195612e69659d1a7a1149 /unsupported/test/cxx11_tensor_concatenation.cpp
parent4250a0cab079ca6e8c43f3dae4c59322d65fc0e9 (diff)
Fixed compilation warnings
Diffstat (limited to 'unsupported/test/cxx11_tensor_concatenation.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_concatenation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/cxx11_tensor_concatenation.cpp b/unsupported/test/cxx11_tensor_concatenation.cpp
index cc9dfb769..03ef12e63 100644
--- a/unsupported/test/cxx11_tensor_concatenation.cpp
+++ b/unsupported/test/cxx11_tensor_concatenation.cpp
@@ -47,10 +47,10 @@ static void test_static_dimension_failure()
// This can be worked around in this case.
Tensor<int, 3, DataLayout> concatenation = left
- .reshape(Tensor<int, 3>::Dimensions{{2, 3, 1}})
+ .reshape(Tensor<int, 3>::Dimensions(2, 3, 1))
.concatenate(right, 0);
Tensor<int, 2, DataLayout> alternative = left
- .concatenate(right.reshape(Tensor<int, 2>::Dimensions{{2, 3}}), 0);
+ .concatenate(right.reshape(Tensor<int, 2>::Dimensions{{{2, 3}}}), 0);
}
template<int DataLayout>