]> https://gitweb.dealii.org/ - dealii.git/commitdiff
a minor update on usage of increment operator 1739/head
authorLei Qiao <qiaol618@gmail.com>
Mon, 12 Oct 2015 16:25:03 +0000 (11:25 -0500)
committerLei Qiao <qiaol618@gmail.com>
Mon, 12 Oct 2015 16:25:03 +0000 (11:25 -0500)
source/grid/grid_refinement.cc

index c81faed8e20f6ce09b85a2510fb188821b0356da..8505d66fe9a6b1a751b9fc7b96dad4aa5a8b7361 100644 (file)
@@ -254,7 +254,7 @@ void GridRefinement::refine (Triangulation<dim,spacedim> &tria,
       {
         if (max_to_mark!=numbers::invalid_unsigned_int && marked>=max_to_mark)
           break;
-        marked++;
+        ++marked;
         cell->set_refine_flag();
       }
 }

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.