]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a stupid bug.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Oct 2003 17:02:51 +0000 (17:02 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Oct 2003 17:02:51 +0000 (17:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@8177 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_tools.cc

index 08032d0252df4bbb04d861035e62be17074a163b..874b4453763cfedc8e66d0a516100dff8b37a8b0 100644 (file)
@@ -219,7 +219,7 @@ GridTools::find_active_cell_around_point (const Container  &container,
     {
       unsigned int c=0;
       for (; c<GeometryInfo<dim>::children_per_cell; ++c)
-        if (cell->point_inside (p))
+        if (cell->child(c)->point_inside (p))
           break;
 
                                        // make sure we found a child

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.