From ef4eadcab479d231cfeee7ebb5ecedd9a1f22116 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 9 Oct 2012 12:44:57 +0000 Subject: [PATCH] Really go through all neighbors of a vertex. git-svn-id: https://svn.dealii.org/trunk@27025 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/grid_tools.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deal.II/source/grid/grid_tools.cc b/deal.II/source/grid/grid_tools.cc index 668d238b18..d67815fbe8 100644 --- a/deal.II/source/grid/grid_tools.cc +++ b/deal.II/source/grid/grid_tools.cc @@ -736,7 +736,7 @@ namespace GridTools && cell->neighbor(face)->active()) { - // there is a (possibly )coarser cell behind a + // there is a (possibly) coarser cell behind a // face to which the vertex belongs. the // vertex we are looking at is then either a // vertex of that coarser neighbor, or it is a @@ -747,7 +747,6 @@ namespace GridTools // std::set makes sure that we get it only // once) adjacent_cells.insert (cell->neighbor(face)); - goto next_cell; } } -- 2.39.5