]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update include/deal.II/numerics/vector_tools_rhs.templates.h 12700/head
authorFabian Castelli <50630942+gfcas@users.noreply.github.com>
Mon, 23 Aug 2021 18:08:04 +0000 (20:08 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 18:08:04 +0000 (20:08 +0200)
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
include/deal.II/numerics/vector_tools_rhs.templates.h

index 3335a00a25c65fdbbe6d3133726363aed205da4f..d18462093f5d091124ab47a2733941609edf9d1f 100644 (file)
@@ -534,7 +534,7 @@ namespace VectorTools
               dofs.resize(dofs_per_cell);
               cell_vector.reinit(dofs_per_cell);
 
-              const std::vector<double> &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);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.