From fa92e5ef6a603124e424d9e25a736383fac3e343 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 9 Feb 2025 20:30:21 -0700 Subject: [PATCH] No need to say the same thing three times. --- include/deal.II/base/polynomials_wedge.h | 39 ++++++++++++------------ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/include/deal.II/base/polynomials_wedge.h b/include/deal.II/base/polynomials_wedge.h index 8d88fa499b..d38cdf8e3b 100644 --- a/include/deal.II/base/polynomials_wedge.h +++ b/include/deal.II/base/polynomials_wedge.h @@ -32,7 +32,7 @@ namespace internal * to access the right shape function within the triangle and within * the line. */ - static const constexpr dealii::ndarray wedge_table_1{ + constexpr dealii::ndarray wedge_table_1{ {{{0, 0}}, {{1, 0}}, {{2, 0}}, {{0, 1}}, {{1, 1}}, {{2, 1}}}}; /** @@ -40,25 +40,24 @@ namespace internal * to access the right shape function within the triangle and within * the line. */ - static const constexpr dealii::ndarray wedge_table_2{ - {{{0, 0}}, - {{1, 0}}, - {{2, 0}}, - {{0, 1}}, - {{1, 1}}, - {{2, 1}}, - {{3, 0}}, - {{4, 0}}, - {{5, 0}}, - {{3, 1}}, - {{4, 1}}, - {{5, 1}}, - {{0, 2}}, - {{1, 2}}, - {{2, 2}}, - {{3, 2}}, - {{4, 2}}, - {{5, 2}}}}; + constexpr dealii::ndarray wedge_table_2{{{{0, 0}}, + {{1, 0}}, + {{2, 0}}, + {{0, 1}}, + {{1, 1}}, + {{2, 1}}, + {{3, 0}}, + {{4, 0}}, + {{5, 0}}, + {{3, 1}}, + {{4, 1}}, + {{5, 1}}, + {{0, 2}}, + {{1, 2}}, + {{2, 2}}, + {{3, 2}}, + {{4, 2}}, + {{5, 2}}}}; } // namespace internal -- 2.39.5