From e888bd46c17d7b5a4126102e275aad8bb8567e70 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 13 Nov 2017 15:31:36 +0100 Subject: [PATCH] the convergence criterion does not need to check "is_in_domain" for incident faces anyway we do not compute the criterion for constrained vertices, nor for non-moving vertices --- Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h index 0e3636bde84..43d2f09438a 100644 --- a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h +++ b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h @@ -307,8 +307,7 @@ private: // Find the minimum value do { - if(face->is_in_domain()) - min_sqr = (std::min)(min_sqr, sq_circumradius(face)); + min_sqr = (std::min)(min_sqr, sq_circumradius(face)); face++; } while(face != end);