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);