Skip to content

Commit

Permalink
Merge pull request #2888 from gassmoeller/fix_warning
Browse files Browse the repository at this point in the history
Fix a warning
  • Loading branch information
tjhei committed Apr 15, 2019
2 parents 66b7c66 + b49f799 commit a31ec62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/volume_of_fluid/reconstruct.cc
Expand Up @@ -144,7 +144,7 @@ namespace aspect
// Not on center column, so obtain the center cell of the appropriate row
const unsigned int neighbor_no = (i/2);
const typename DoFHandler<dim>::face_iterator face = cell->face (neighbor_no);
if (face->at_boundary() && !cell->has_periodic_neighbor(neighbor_no)||
if ((face->at_boundary() && !cell->has_periodic_neighbor(neighbor_no)) ||
face->has_children())
cen = endc;
else
Expand Down Expand Up @@ -181,7 +181,7 @@ namespace aspect
//
const unsigned int neighbor_no = 2+(j/2);
const typename DoFHandler<dim>::face_iterator face = cen->face (neighbor_no);
if (face->at_boundary() && !cen->has_periodic_neighbor(neighbor_no)||
if ((face->at_boundary() && !cen->has_periodic_neighbor(neighbor_no)) ||
face->has_children())
curr = endc;
else
Expand Down

0 comments on commit a31ec62

Please sign in to comment.