Skip to content

Commit

Permalink
Merge pull request #16266 from bangerth/constexpr
Browse files Browse the repository at this point in the history
Mark an expression as 'constexpr'.
  • Loading branch information
Rombur committed Nov 14, 2023
2 parents e1b5b21 + 2c61ed2 commit dc9b3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/deal.II/base/geometry_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc9b3e8

Please sign in to comment.