aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_concatenation.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-25 00:10:46 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-25 00:10:46 +0200
commitf155e97adb45dac0fd0f5e457d0300f0a5e3bada (patch)
tree1ea2943ab1ba57d4a3451e6433aece7129746c48 /unsupported/test/cxx11_tensor_concatenation.cpp
parent209b4972ece60c9193b492745b5bfac2bfd462d5 (diff)
Previous fix broke compilation for clang
Diffstat (limited to 'unsupported/test/cxx11_tensor_concatenation.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_concatenation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_concatenation.cpp b/unsupported/test/cxx11_tensor_concatenation.cpp
index 2e1abdfb1..e223d9ffd 100644
--- a/unsupported/test/cxx11_tensor_concatenation.cpp
+++ b/unsupported/test/cxx11_tensor_concatenation.cpp
@@ -56,7 +56,7 @@ static void test_static_dimension_failure()
// either the code should change to
// Tensor<int, 2>::Dimensions{{2, 3}}
// or Tensor<int, 2>::Dimensions{Tensor<int, 2>::Dimensions{{2, 3}}}
- .concatenate(right.reshape(Tensor<int, 2>::Dimensions{{{2, 3}}}), 0);
+ .concatenate(right.reshape(Tensor<int, 2>::Dimensions(2, 3)), 0);
}
template<int DataLayout>