From: Peter Munch Date: Thu, 26 Sep 2019 08:09:43 +0000 (+0200) Subject: Fix a bug introduced in #8783 X-Git-Tag: v9.2.0-rc1~1021^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8862%2Fhead;p=dealii.git Fix a bug introduced in #8783 --- diff --git a/source/distributed/tria_base.cc b/source/distributed/tria_base.cc index e2c91bfa8d..bad673e21e 100644 --- a/source/distributed/tria_base.cc +++ b/source/distributed/tria_base.cc @@ -394,6 +394,9 @@ namespace parallel // loop over all periodic face pairs for (const auto &pair : this->get_periodic_face_map()) { + if (pair.first.first->level() != pair.second.first.first->level()) + continue; + const auto face_a = pair.first.first->face(pair.first.second); const auto face_b = pair.second.first.first->face(pair.second.first.second);