From: Dominik Still Date: Tue, 9 Jul 2024 08:10:31 +0000 (+0200) Subject: Make fe constant X-Git-Tag: v9.6.0-rc1~116^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7f94bef1e623b83711933f221dc9b5fb13cd102;p=dealii.git Make fe constant --- diff --git a/include/deal.II/matrix_free/util.h b/include/deal.II/matrix_free/util.h index de7ce1723c..2a3cc35add 100644 --- a/include/deal.II/matrix_free/util.h +++ b/include/deal.II/matrix_free/util.h @@ -61,7 +61,7 @@ namespace internal for (unsigned int i = 1; i <= 3; ++i) { - FE_SimplexP fe(i); + const FE_SimplexP fe(i); if (quad == Quadrature(fe.get_unit_support_points())) return {ReferenceCells::get_simplex(), dealii::hp::QCollection(Quadrature( @@ -152,7 +152,7 @@ namespace internal for (unsigned int i = 1; i <= 3; ++i) { - FE_SimplexP fe(i); + const FE_SimplexP fe(i); if (quad == Quadrature(fe.get_unit_support_points())) { if (dim == 2)