From dab4c3972e3ae090d675ef6128193690eaf2f8c6 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 1 May 2003 21:45:46 +0000 Subject: [PATCH] Uhh.. git-svn-id: https://svn.dealii.org/trunk@7537 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/grid/geometry_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/include/grid/geometry_info.h b/deal.II/deal.II/include/grid/geometry_info.h index efec19a07c..98074da542 100644 --- a/deal.II/deal.II/include/grid/geometry_info.h +++ b/deal.II/deal.II/include/grid/geometry_info.h @@ -1109,7 +1109,7 @@ GeometryInfo<1>::cell_to_child_coordinates (const Point<1> &p, const unsigned int child_index) { Assert (child_index < GeometryInfo::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::children_per_cell)); const double x = p[0]*2 - (child_index == 1 ? 1. : 0.); return Point(x); } @@ -1122,7 +1122,7 @@ GeometryInfo<2>::cell_to_child_coordinates (const Point<2> &p, const unsigned int child_index) { Assert (child_index < GeometryInfo::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::children_per_cell)); const double x = p[0]*2 - ((child_index == 1) || (child_index == 2) ? 1. : 0.); const double y = p[1]*2 - ((child_index == 2) || (child_index == 3) ? 1. : 0.); @@ -1138,7 +1138,7 @@ GeometryInfo<3>::cell_to_child_coordinates (const Point<3> &p, const unsigned int child_index) { Assert (child_index < GeometryInfo::children_per_cell, - ExcIndexRange (child_index, GeometryInfo::children_per_cell)); + ExcIndexRange (child_index, 0, GeometryInfo::children_per_cell)); const double x = p[0]*2 - ((child_index == 1) || (child_index == 2) || (child_index == 5) || (child_index == 6) ? 1. : 0.); -- 2.39.5