Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark an expression as 'constexpr'. #16266

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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