From 413f3406808944de8867d57e2d21a2f9b8e4b5a1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 6 May 1998 15:37:52 +0000 Subject: [PATCH] Trivial bug fix. git-svn-id: https://svn.dealii.org/trunk@260 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/error_estimator.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5