]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug in 1d removed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jun 2006 06:22:47 +0000 (06:22 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jun 2006 06:22:47 +0000 (06:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@13208 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/geometry_info.cc

index fdf4629407d6839627f1e2c77f3b6eb4099bc386..85bbcd22589a21fa4f54ca45691ff18cba2c4e7c 100644 (file)
@@ -231,7 +231,8 @@ GeometryInfo<1>::child_cell_on_face (const unsigned int face,
                                     const bool)
 {
   Assert (face<faces_per_cell, ExcIndexRange(face, 0, faces_per_cell));
-  Assert (subface==subfaces_per_face, ExcIndexRange(subface, 0, 1));
+  Assert (subface<subfaces_per_face,
+         ExcIndexRange(subface, 0, subfaces_per_face));
 
   return face;
 }

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.