From 272fe5218fb2623d30b1551fc10ab0d05a934fd6 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 19 Jan 2016 13:00:08 -0500 Subject: [PATCH] fix warning --- source/dofs/dof_handler_policy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5