From aab9369c0967d73171769b806b14bae912a7cd0a Mon Sep 17 00:00:00 2001 From: Lei Qiao Date: Mon, 12 Oct 2015 11:25:03 -0500 Subject: [PATCH] a minor update on usage of increment operator --- source/grid/grid_refinement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/grid_refinement.cc b/source/grid/grid_refinement.cc index c81faed8e2..8505d66fe9 100644 --- a/source/grid/grid_refinement.cc +++ b/source/grid/grid_refinement.cc @@ -254,7 +254,7 @@ void GridRefinement::refine (Triangulation &tria, { if (max_to_mark!=numbers::invalid_unsigned_int && marked>=max_to_mark) break; - marked++; + ++marked; cell->set_refine_flag(); } } -- 2.39.5