Skip to content

Commit

Permalink
do not use deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Oct 24, 2023
1 parent 5d090fa commit f3147cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ int main(int argc, char* argv[])
faces(mesh),
sizing_field,
mesh,
PMP::parameters::number_of_iterations(nb_iter)
.number_of_relaxation_steps(3)
PMP::number_of_iterations(nb_iter)
.number_of_relaxation_steps(3)
);

CGAL::IO::write_polygon_mesh("out.off", mesh, CGAL::parameters::stream_precision(17));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main(int argc, char* argv[])
faces(mesh),
sizing_field,
mesh,
PMP::parameters::number_of_iterations(nb_iter).number_of_relaxation_steps(3)
PMP::number_of_iterations(nb_iter).number_of_relaxation_steps(3)
);

/*
Expand Down

0 comments on commit f3147cb

Please sign in to comment.