From 3b790511191bb534c489032bc19677a8ca4e787d Mon Sep 17 00:00:00 2001 From: Fabian Castelli <50630942+gfcas@users.noreply.github.com> Date: Mon, 23 Aug 2021 20:07:56 +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 9a7830a800..3335a00a25 100644 --- a/include/deal.II/numerics/vector_tools_rhs.templates.h +++ b/include/deal.II/numerics/vector_tools_rhs.templates.h @@ -570,7 +570,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.vector_value_list(fe_values.get_quadrature_points(), rhs_values); -- 2.39.5