From: Wolfgang Bangerth Date: Wed, 6 May 1998 15:37:52 +0000 (+0000) Subject: Trivial bug fix. X-Git-Tag: v8.0.0~22994 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=413f3406808944de8867d57e2d21a2f9b8e4b5a1;p=dealii.git Trivial bug fix. git-svn-id: https://svn.dealii.org/trunk@260 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index e9d7835c3a..c5be6740d4 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -368,8 +368,6 @@ integrate_over_irregular_face (const active_cell_iterator &cell, const DoFHandler::cell_iterator neighbor = cell->neighbor(face_no); Assert (neighbor.state() == valid, ExcInternalError()); Assert (neighbor->has_children(), ExcInternalError()); - Assert (neighbor->child(0)->has_children()==false, - ExcInternalError()); // set up a vector of the gradients // of the finite element function // on this cell at the quadrature @@ -399,6 +397,9 @@ integrate_over_irregular_face (const active_cell_iterator &cell, child_cell_on_face(neighbor_neighbor,subface_no)); Assert (neighbor_child->face(neighbor_neighbor) == cell->face(face_no)->child(subface_no), + ExcInternalError()); + Assert (!neighbor->child(GeometryInfo:: + child_cell_on_face(neighbor_neighbor,subface_no))->has_children(), ExcInternalError()); // restrict the finite element on the