From 094649a2c0fcb2146aa0261af8bfd30b720f2d26 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 1 Jul 2023 10:18:35 -0600 Subject: [PATCH] Do not take scalars by reference. --- include/deal.II/lac/affine_constraints.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/affine_constraints.h b/include/deal.II/lac/affine_constraints.h index 906e2be1f6..bdb4671b17 100644 --- a/include/deal.II/lac/affine_constraints.h +++ b/include/deal.II/lac/affine_constraints.h @@ -1654,7 +1654,7 @@ public: ConstraintLine(const size_type &index = numbers::invalid_dof_index, const typename AffineConstraints< number>::ConstraintLine::Entries &entries = {}, - const number & inhomogeneity = 0.0); + const number inhomogeneity = 0.0); /** * Copy constructor. @@ -2532,7 +2532,7 @@ template inline AffineConstraints::ConstraintLine::ConstraintLine( const size_type & index, const typename AffineConstraints::ConstraintLine::Entries &entries, - const number &inhomogeneity) + const number inhomogeneity) : index(index) , entries(entries) , inhomogeneity(inhomogeneity) -- 2.39.5