Skip to content

Commit

Permalink
Merge pull request #14378 from marcfehling/warnings
Browse files Browse the repository at this point in the history
Fix some warnings.
  • Loading branch information
tjhei committed Oct 29, 2022
2 parents 2166009 + ee2d214 commit 9512b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/cgal/intersections.cc
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ namespace CGALWrappers
internal::mark_domains(cdt);
std::array<Point<2>, 3> vertices;

for (const Face_handle &f : cdt.finite_face_handles())
for (const Face_handle f : cdt.finite_face_handles())
{
if (f->info().in_domain() &&
CGAL::to_double(cdt.triangle(f).area()) > tol)
Expand Down
2 changes: 1 addition & 1 deletion source/dofs/dof_handler_policy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3661,7 +3661,7 @@ namespace internal
// be assigned.
types::global_dof_index n_identity_constrained_indices = 0;
for (const auto &constrained_indices : all_constrained_indices)
for (const auto index : constrained_indices)
for (const auto &index : constrained_indices)
if (renumbering[index.first] != numbers::invalid_dof_index)
++n_identity_constrained_indices;

Expand Down

0 comments on commit 9512b4c

Please sign in to comment.