aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_tensor_ref.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-03-16 13:17:52 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-03-16 13:17:52 -0700
commit5144f66728fb156402799682cfd926faf0e98fb4 (patch)
tree04946411632632f1feb732976fa9d06849b5c130 /unsupported/test/cxx11_tensor_ref.cpp
parent0fd6d52724555d70f663c7ec56db6419e95db6cc (diff)
Fixed compilation warning
Diffstat (limited to 'unsupported/test/cxx11_tensor_ref.cpp')
-rw-r--r--unsupported/test/cxx11_tensor_ref.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/cxx11_tensor_ref.cpp b/unsupported/test/cxx11_tensor_ref.cpp
index 59530fe43..c8f105e3d 100644
--- a/unsupported/test/cxx11_tensor_ref.cpp
+++ b/unsupported/test/cxx11_tensor_ref.cpp
@@ -206,7 +206,7 @@ static void test_nested_ops_with_ref()
paddings[1] = std::make_pair(2, 1);
paddings[2] = std::make_pair(3, 4);
paddings[3] = std::make_pair(0, 0);
- DSizes<Eigen::DenseIndex, 4> shuffle_dims{0, 1, 2, 3};
+ DSizes<Eigen::DenseIndex, 4> shuffle_dims(0, 1, 2, 3);
TensorRef<Tensor<const float, 4> > ref(m.pad(paddings));
array<std::pair<ptrdiff_t, ptrdiff_t>, 4> trivial;
trivial[0] = std::make_pair(0, 0);