From c29b5e36e206b5398275fce1ef30c0e38dae39d8 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 7 Apr 2013 16:37:50 +0000 Subject: [PATCH] Fix an instance of a comparison that (i) uses the wrong type and (ii) is almost certainly incorrect (using invalid_subdomain_id instead of artificial_subdomain_id). git-svn-id: https://svn.dealii.org/trunk@29211 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_handler_policy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/source/dofs/dof_handler_policy.cc b/deal.II/source/dofs/dof_handler_policy.cc index 0b8f291bd8..f6e3eb2b88 100644 --- a/deal.II/source/dofs/dof_handler_policy.cc +++ b/deal.II/source/dofs/dof_handler_policy.cc @@ -2173,7 +2173,7 @@ namespace internal endc = dof_handler.end(level); for (; cell != endc; ++cell) - if (cell->level_subdomain_id() != DoFHandler::invalid_dof_index && + if (!cell->is_artificial() && (cell->level_subdomain_id() < tr->locally_owned_subdomain())) { // we found a -- 2.39.5