]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Can't believe such a stupid bug persisted until now! Has never anyone tried to access...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 Apr 2000 09:14:34 +0000 (09:14 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 7 Apr 2000 09:14:34 +0000 (09:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@2690 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/tria_accessor.templates.h

index c6280835c2f0a6162550847e2f8c23269b4c5e6a..8be18157867b8685227fcc4daef4128bb75d56ca 100644 (file)
@@ -516,7 +516,8 @@ TriaObjectAccessor<3,dim>::line_index (unsigned int i) const {
 template <int dim>
 inline
 unsigned int
-TriaObjectAccessor<3,dim>::quad_index (unsigned int i) const {
+TriaObjectAccessor<3,dim>::quad_index (unsigned int i) const
+{
   Assert (i<6, ExcIndexRange(i,0,6));
 
   return tria->levels[present_level]->hexes.hexes[present_index].quad(i);
@@ -526,8 +527,9 @@ TriaObjectAccessor<3,dim>::quad_index (unsigned int i) const {
 template <int dim>
 inline
 TriaIterator<dim,TriaObjectAccessor<3,dim> >
-TriaObjectAccessor<3,dim>::child (const unsigned int i) const {
-  Assert (i<6, ExcIndexRange(i,0,6));
+TriaObjectAccessor<3,dim>::child (const unsigned int i) const
+{
+  Assert (i<8, ExcIndexRange(i,0,8));
   
   TriaIterator<dim,TriaObjectAccessor<3,dim> > q (tria, present_level+1, child_index (i));
   

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.