From: bangerth Date: Sun, 7 Apr 2013 16:37:50 +0000 (+0000) Subject: Fix an instance of a comparison that (i) uses the wrong type and (ii) is X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29b5e36e206b5398275fce1ef30c0e38dae39d8;p=dealii-svn.git 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 --- 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