]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor updates to step-69. 15316/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 6 Jun 2023 14:33:21 +0000 (08:33 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 6 Jun 2023 14:33:21 +0000 (08:33 -0600)
examples/step-69/step-69.cc

index a76fc1b54a8c5c6334d8c4fce0835a154082ac2c..2d57ddc5647a7b132d1b1a604c13ac3d02075566 100644 (file)
@@ -2060,7 +2060,7 @@ namespace Step69
       TimerOutput::Scope scope(computing_timer,
                                "time_stepping - 4 fix boundary states");
 
-      for (auto it : boundary_normal_map)
+      for (const auto &it : boundary_normal_map)
         {
           const auto i = it.first;
 

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.