]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update source/lac/sparsity_tools.cc
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 9 Jan 2023 16:35:10 +0000 (11:35 -0500)
committerGitHub <noreply@github.com>
Mon, 9 Jan 2023 16:35:10 +0000 (11:35 -0500)
Co-authored-by: David Wells <drwells@email.unc.edu>
source/lac/sparsity_tools.cc

index e5bc4b86684614c720fc753dc47257c1c455fc3a..0b45cbfb96310e2a2c9798d478595e0f912edd68 100644 (file)
@@ -621,7 +621,7 @@ namespace SparsityTools
     DynamicSparsityPattern::size_type next_free_number = 0;
 
     // enumerate the first round dofs
-    for (unsigned int last_round_dof : last_round_dofs)
+    for (const auto &last_round_dof : last_round_dofs)
       new_indices[last_round_dof] = next_free_number++;
 
     // now do as many steps as needed to renumber all dofs

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.