From: Timo Heister Date: Sat, 1 Jun 2013 19:24:44 +0000 (+0000) Subject: make a lot more tests work X-Git-Tag: v8.0.0~339 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb7b52525e51e6cab8133ce2f1159f2b05c14d4;p=dealii.git make a lot more tests work git-svn-id: https://svn.dealii.org/trunk@29720 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 30281f1ea2..f7d9e8796e 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -665,7 +665,9 @@ namespace DoFRenumbering if (is_level_operation) { //we are dealing with mg dofs, skip foreign level cells: - if (cell->level_subdomain_id()!=start->get_dof_handler().get_tria().locally_owned_subdomain()) + if ((start->get_dof_handler().get_tria().locally_owned_subdomain() != numbers::invalid_subdomain_id) + && + (cell->level_subdomain_id()!=start->get_dof_handler().get_tria().locally_owned_subdomain())) continue; } else