From 63974886a19080e2bf4a6715a7d70178564c4694 Mon Sep 17 00:00:00 2001 From: Fabian Castelli <50630942+gfcas@users.noreply.github.com> Date: Mon, 23 Aug 2021 20:08:04 +0200 Subject: [PATCH] Update include/deal.II/numerics/vector_tools_rhs.templates.h Co-authored-by: Daniel Arndt --- include/deal.II/numerics/vector_tools_rhs.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/numerics/vector_tools_rhs.templates.h b/include/deal.II/numerics/vector_tools_rhs.templates.h index 3335a00a25..d18462093f 100644 --- a/include/deal.II/numerics/vector_tools_rhs.templates.h +++ b/include/deal.II/numerics/vector_tools_rhs.templates.h @@ -534,7 +534,7 @@ namespace VectorTools dofs.resize(dofs_per_cell); cell_vector.reinit(dofs_per_cell); - const std::vector &weights = fe_values.get_JxW_values(); + const auto &weights = fe_values.get_JxW_values(); rhs_function.value_list(fe_values.get_quadrature_points(), rhs_values); -- 2.39.5