From 2c61ed250aed6a1760b5a020365b4dbbb86eb2b7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 13 Nov 2023 16:51:06 -0700 Subject: [PATCH] Mark an expression as 'constexpr'. --- include/deal.II/base/geometry_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/deal.II/base/geometry_info.h b/include/deal.II/base/geometry_info.h index 1927e7cce2..11205f1a9a 100644 --- a/include/deal.II/base/geometry_info.h +++ b/include/deal.II/base/geometry_info.h @@ -4425,9 +4425,9 @@ GeometryInfo<2>::child_cell_on_face(const RefinementCase<2> &ref_case, // this cell adjacent to the subface of a possibly // refined neighbor. this simplifies setting neighbor // information in execute_refinement. - const unsigned int - subcells[2][RefinementCase<2>::isotropic_refinement][faces_per_cell] - [max_children_per_face] = { + constexpr unsigned int + subcells[2][RefinementPossibilities<2>::isotropic_refinement] + [faces_per_cell][max_children_per_face] = { { // Normal orientation (face_flip = false) {{0, 0}, {1, 1}, {0, 1}, {0, 1}}, // cut_x -- 2.39.5