Skip to content

Commit 5956baf

Browse files
committed
Fixed 'missing braces' warning in tests/vector_view.cpp
1 parent e8345e4 commit 5956baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/vector_view.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ BOOST_AUTO_TEST_CASE(slice_reductor_multi_dim)
223223
x = 1;
224224

225225
auto test = [&](size_t d1, size_t d2) {
226-
std::array<size_t,2> dim = {d1, d2};
226+
std::array<size_t,2> dim = {{d1, d2}};
227227

228228
y = vex::reduce<vex::SUM>(slice[_][_][_](x), dim);
229229

0 commit comments

Comments
 (0)