]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix warning about braces 10122/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 10 May 2020 15:39:38 +0000 (11:39 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 10 May 2020 15:39:38 +0000 (11:39 -0400)
fix #10120

source/matrix_free/task_info.cc

index 1f0e733923fdf43543068015a652671351bb8438..bbea242a287ac69568bb49a1f8cc283b1a42249e 100644 (file)
@@ -962,7 +962,7 @@ namespace internal
               std::upper_bound(category_size.begin(), category_size.end(), i) -
                 category_size.begin() :
               0;
-          const std::array<unsigned int, 3> next{category_hp, max_index, i};
+          const std::array<unsigned int, 3> next{{category_hp, max_index, i}};
           if (batch_with_comm[i / n_lanes])
             batch_order_comm.emplace_back(next);
           else

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.