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