From: Wolfgang Bangerth Date: Tue, 14 Nov 2023 15:37:26 +0000 (-0700) Subject: Another attempt at telling the compiler that everything is initialized. X-Git-Tag: relicensing~297^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16268%2Fhead;p=dealii.git Another attempt at telling the compiler that everything is initialized. --- diff --git a/include/deal.II/base/geometry_info.h b/include/deal.II/base/geometry_info.h index 11205f1a9a..9b7f66d907 100644 --- a/include/deal.II/base/geometry_info.h +++ b/include/deal.II/base/geometry_info.h @@ -4426,8 +4426,9 @@ GeometryInfo<2>::child_cell_on_face(const RefinementCase<2> &ref_case, // refined neighbor. this simplifies setting neighbor // information in execute_refinement. constexpr unsigned int - subcells[2][RefinementPossibilities<2>::isotropic_refinement] - [faces_per_cell][max_children_per_face] = { + subcells[/* possible face orientation */ 2] + [/* number of different ways to refine a cell */ 4] + [/* faces_per_cell */ 4][/* max_children_per_face */ 2] = { { // Normal orientation (face_flip = false) {{0, 0}, {1, 1}, {0, 1}, {0, 1}}, // cut_x