From c3c379e15b9b0becf45a2dc567588bd120f58d76 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 10 May 2020 11:39:38 -0400 Subject: [PATCH] fix warning about braces fix #10120 --- source/matrix_free/task_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/matrix_free/task_info.cc b/source/matrix_free/task_info.cc index 1f0e733923..bbea242a28 100644 --- a/source/matrix_free/task_info.cc +++ b/source/matrix_free/task_info.cc @@ -962,7 +962,7 @@ namespace internal std::upper_bound(category_size.begin(), category_size.end(), i) - category_size.begin() : 0; - const std::array next{category_hp, max_index, i}; + const std::array next{{category_hp, max_index, i}}; if (batch_with_comm[i / n_lanes]) batch_order_comm.emplace_back(next); else -- 2.39.5