From 4ccc4f84a227c675c78f0911e32d57f349878581 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 28 Jan 2021 10:19:07 -0700 Subject: [PATCH] Pass 'const double' objects by-value, rather than by-reference. --- include/deal.II/fe/fe_point_evaluation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/deal.II/fe/fe_point_evaluation.h b/include/deal.II/fe/fe_point_evaluation.h index ee1f544bae..b902873f6d 100644 --- a/include/deal.II/fe/fe_point_evaluation.h +++ b/include/deal.II/fe/fe_point_evaluation.h @@ -48,7 +48,7 @@ namespace internal using gradient_type = Tensor<1, n_components, Tensor<1, dim>>; static void - read_value(const double & vector_entry, + read_value(const double vector_entry, const unsigned int component, value_type & result) { @@ -128,7 +128,7 @@ namespace internal using gradient_type = Tensor<1, dim>; static void - read_value(const double &vector_entry, + read_value(const double vector_entry, const unsigned int, value_type &result) { @@ -198,7 +198,7 @@ namespace internal using gradient_type = Tensor<2, dim>; static void - read_value(const double & vector_entry, + read_value(const double vector_entry, const unsigned int component, value_type & result) { @@ -283,7 +283,7 @@ namespace internal using gradient_type = Tensor<1, 1>; static void - read_value(const double &vector_entry, + read_value(const double vector_entry, const unsigned int, value_type &result) { -- 2.39.5