From 65e66c4498eb78b9edf3779235996e479616d64d Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Thu, 26 Sep 2019 10:09:43 +0200 Subject: [PATCH] Fix a bug introduced in #8783 --- source/distributed/tria_base.cc | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5