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

index 9a7830a80034705923240b09b1f5e871b381ab89..3335a00a25c65fdbbe6d3133726363aed205da4f 100644 (file)
@@ -570,7 +570,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.vector_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.