From dca663e8096ff23db281cc8d796cbe64ae3d3b44 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 9 Feb 2023 15:22:43 -0700 Subject: [PATCH] Replace an unnecessary alias variable. --- source/base/qprojector.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/base/qprojector.cc b/source/base/qprojector.cc index 35d43fb58b..b79b62542e 100644 --- a/source/base/qprojector.cc +++ b/source/base/qprojector.cc @@ -698,7 +698,6 @@ QProjector<3>::project_to_all_faces(const ReferenceCell & reference_cell, // scale quadrature weight const double scaling = [&]() { - const auto & supp_pts = support_points; const unsigned int dim_ = 2; const unsigned int spacedim = 3; @@ -713,12 +712,13 @@ QProjector<3>::project_to_all_faces(const ReferenceCell & reference_cell, for (unsigned int i = 0; i < spacedim; ++i) for (unsigned int j = 0; j < dim_; ++j) - result[i][j] = shape_derivatives[0][j] * supp_pts[0][i]; + result[i][j] = + shape_derivatives[0][j] * support_points[0][i]; for (unsigned int k = 1; k < n_linear_shape_functions; ++k) for (unsigned int i = 0; i < spacedim; ++i) for (unsigned int j = 0; j < dim_; ++j) result[i][j] += - shape_derivatives[k][j] * supp_pts[k][i]; + shape_derivatives[k][j] * support_points[k][i]; DerivativeForm<1, dim_, spacedim> contravariant; -- 2.39.5