]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use pre-increment operator. 14139/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 15 Jul 2022 03:35:44 +0000 (21:35 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 15 Jul 2022 03:35:44 +0000 (21:35 -0600)
source/grid/grid_generator.cc

index 637a714d0ee0d17079dea65d15306ba941efcc47..ac3307101b81d831cafc6767a95384a21bcab615 100644 (file)
@@ -6557,7 +6557,7 @@ namespace GridGenerator
                   if (result_cell->face(f)->at_boundary())
                     result_cell->face(f)->set_boundary_id(
                       cell->face(f)->boundary_id());
-                result_cell++;
+                ++result_cell;
               }
           }
       }

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.