From: Wolfgang Bangerth Date: Mon, 10 Feb 2025 03:30:21 +0000 (-0700) Subject: No need to say the same thing three times. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa92e5ef6a603124e424d9e25a736383fac3e343;p=dealii.git No need to say the same thing three times. --- 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