From: Fabian Castelli <50630942+gfcas@users.noreply.github.com> Date: Mon, 23 Aug 2021 18:07:56 +0000 (+0200) Subject: Update include/deal.II/numerics/vector_tools_rhs.templates.h X-Git-Tag: v9.4.0-rc1~1039^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b790511191bb534c489032bc19677a8ca4e787d;p=dealii.git Update include/deal.II/numerics/vector_tools_rhs.templates.h Co-authored-by: Daniel Arndt --- 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);