]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Yea, this code wasn't tested :-(
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Jul 2013 19:05:27 +0000 (19:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Jul 2013 19:05:27 +0000 (19:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@30063 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria.cc

index 620f40017ee3d834f77c7117d159285429ef29e1..37a764938dcddd02854dcda33a8e24ef40cbfb0e 100644 (file)
@@ -12208,7 +12208,7 @@ void Triangulation<dim, spacedim>::execute_coarsening ()
   //
   // cells on level 0 are never coarsened, so we can skip it
   for (unsigned int level = n_levels()-1; level>=1; --level)
-    for (cell = begin(level); cell!=end(level); --cell)
+    for (cell = begin(level); cell!=end(level); ++cell)
       if (cell->user_flag_set())
         // use a separate function,
         // since this is dimension

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.