From 9b3eab33656f1ac193b58a75615957a0d9c05071 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 20 Jul 2013 12:07:47 +0000 Subject: [PATCH] Also avoid a potentially endless loop. Fix typo. git-svn-id: https://svn.dealii.org/trunk@30077 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/tria.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/source/grid/tria.cc b/deal.II/source/grid/tria.cc index b12116a191..42aaa7279e 100644 --- a/deal.II/source/grid/tria.cc +++ b/deal.II/source/grid/tria.cc @@ -12206,9 +12206,9 @@ void Triangulation::execute_coarsening () // deleted (if the latter are on a // higher level for example) // - // since we delete teh *children* of cells, we only need to start + // since we delete the *children* of cells, we only need to start // considering cells on the second highest level, n_levels()-2. - for (unsigned int level = n_levels()-2; level>=0; --level) + for (int level = n_levels()-2; level>=0; --level) for (cell = begin(level); cell!=end(level); ++cell) if (cell->user_flag_set()) // use a separate function, -- 2.39.5