add missing nb_extra_iterations = 0 when macro is on (for debugging purposes)

This commit is contained in:
Jane Tournois 2021-12-13 12:38:30 +01:00 committed by Jane Tournois
parent a2ea1742c3
commit 18facb24de
1 changed files with 8 additions and 0 deletions

View File

@ -280,6 +280,10 @@ void tetrahedral_isotropic_remeshing(
// perform remeshing
std::size_t nb_extra_iterations = 3;
#ifdef CGAL_TETRAHEDRAL_REMESHING_NO_EXTRA_ITERATIONS
nb_extra_iterations = 0;
#endif
remesher.remesh(max_it, nb_extra_iterations);
#ifdef CGAL_TETRAHEDRAL_REMESHING_DEBUG
@ -458,6 +462,10 @@ void tetrahedral_isotropic_remeshing(
// perform remeshing
std::size_t nb_extra_iterations = 3;
#ifdef CGAL_TETRAHEDRAL_REMESHING_NO_EXTRA_ITERATIONS
nb_extra_iterations = 0;
#endif
remesher.remesh(max_it, nb_extra_iterations);
#ifdef CGAL_TETRAHEDRAL_REMESHING_VERBOSE