From cfbf5f27652350b163c5440a27a5711355449b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 26 May 2025 15:54:01 +0200 Subject: [PATCH] fix bad variable name --- .../CGAL/Polygon_mesh_processing/remesh_planar_patches.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh_planar_patches.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh_planar_patches.h index 7aafc50950f..b83f82c661c 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh_planar_patches.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/remesh_planar_patches.h @@ -838,7 +838,7 @@ bool decimate_impl(const TriangleMeshIn& tm_in, } std::vector< boost::container::small_vector > faces; - bool remeshing_failed = decimate_impl(tm_in, + bool decimate_success = decimate_impl(tm_in, nb_corners_and_nb_cc, vertex_corner_id, edge_is_constrained, @@ -864,7 +864,7 @@ bool decimate_impl(const TriangleMeshIn& tm_in, parameters::point_to_vertex_map(f_id_tracker.v2v_map()). polygon_to_face_map(f_id_tracker.f2f_map()), parameters::vertex_point_map(vpm_out)); - return remeshing_failed; + return decimate_success; } template