From: Timo Heister Date: Sun, 10 May 2020 15:39:38 +0000 (-0400) Subject: fix warning about braces X-Git-Tag: v9.2.0-rc1~45^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10122%2Fhead;p=dealii.git fix warning about braces fix #10120 --- 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