Skip to content

Commit

Permalink
Fixed clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-heltai committed Jul 25, 2022
1 parent 597a7f5 commit afb750f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/grid/tria.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13987,8 +13987,8 @@ Triangulation<dim, spacedim>::has_hanging_nodes() const
}
else
{
for (const auto cell : active_cell_iterators())
for (const auto i : cell->face_indices())
for (const auto &cell : active_cell_iterators())
for (const auto &i : cell->face_indices())
if (cell->face(i)->has_children())
return true;
}
Expand Down

0 comments on commit afb750f

Please sign in to comment.