Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrum committed Nov 23, 2021
1 parent 3881c0d commit 92b42dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/deal.II/matrix_free/hanging_nodes_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ namespace internal

// ignore neighbors that are artificial or have the same level or
// have children
if (neighbor->is_artificial() || neighbor->level() == cell->level() ||
cell->neighbor(face_no)->has_children())
if (cell->neighbor(face_no)->has_children() ||
neighbor->is_artificial() || neighbor->level() == cell->level())
continue;

face |= 1 << direction;
Expand Down

0 comments on commit 92b42dc

Please sign in to comment.