From: Timo Heister Date: Thu, 2 May 2013 14:18:39 +0000 (+0000) Subject: fix p4est assert from yesterday X-Git-Tag: v8.0.0~586 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=679ebd65d976ad461e9c11b99331fb90baf6e068;p=dealii.git fix p4est assert from yesterday git-svn-id: https://svn.dealii.org/trunk@29428 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/distributed/tria.cc b/deal.II/source/distributed/tria.cc index f8052d1a2c..b9c7d52c33 100644 --- a/deal.II/source/distributed/tria.cc +++ b/deal.II/source/distributed/tria.cc @@ -2862,7 +2862,7 @@ namespace parallel cell = this->begin_active(dealii::internal::p4est::functions::max_level-1); cell != this->end(dealii::internal::p4est::functions::max_level-1); ++cell) { - AssertThrow(cell->refine_flag_set(), + AssertThrow(!(cell->refine_flag_set()), ExcMessage("Fatal Error: maximum refinement level of p4est reached.")); } }