]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add const qualifier
authorBruno Blais <blais.bruno@gmail.com>
Sun, 11 Feb 2024 21:10:43 +0000 (16:10 -0500)
committerBruno Blais <blais.bruno@gmail.com>
Sun, 11 Feb 2024 21:10:43 +0000 (16:10 -0500)
source/grid/grid_generator.cc

index c682fbcf0371f8b59ab1ea856febdd53c6c79733..5082ba34eb74438f84704557210d986b35824cfd 100644 (file)
@@ -6482,7 +6482,7 @@ namespace GridGenerator
       std::min(1e-3 * (outer_radius - inner_radius), 1e-3 * length);
     double mid_radial_distance = 0.5 * (outer_radius - inner_radius);
 
-    for (auto &cell : tria.active_cell_iterators())
+    for (const auto &cell : tria.active_cell_iterators())
       for (const unsigned int f : GeometryInfo<3>::face_indices())
         {
           if (!cell->face(f)->at_boundary())

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.