From 5144f66728fb156402799682cfd926faf0e98fb4 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Mon, 16 Mar 2015 13:17:52 -0700 Subject: Fixed compilation warning --- unsupported/test/cxx11_tensor_ref.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/cxx11_tensor_ref.cpp') 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 shuffle_dims{0, 1, 2, 3}; + DSizes shuffle_dims(0, 1, 2, 3); TensorRef > ref(m.pad(paddings)); array, 4> trivial; trivial[0] = std::make_pair(0, 0); -- cgit v1.2.3