From: Timo Heister Date: Tue, 19 Jan 2016 18:00:08 +0000 (-0500) Subject: fix warning X-Git-Tag: v8.4.0-rc2~77^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272fe5218fb2623d30b1551fc10ab0d05a934fd6;p=dealii.git fix warning --- diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 29c74979e5..76dc40c71b 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -1542,7 +1542,7 @@ namespace internal if (dealii_cell->at_boundary(f)) continue; typename DoFHandler::level_cell_iterator neighbor = dealii_cell->neighbor(f); - if (neighbor->level()>=level) + if (neighbor->level()>=dealii_cell->level()) continue; dealii::types::subdomain_id dest = neighbor->level_subdomain_id();