From 2d377746847a114f49f621b32e32b930a90874a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 26 Apr 2021 11:30:25 +0200 Subject: [PATCH] add missing return statement --- Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h b/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h index fe80be03d19..61fc786655e 100644 --- a/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h +++ b/Skin_surface_3/include/CGAL/make_skin_surface_mesh_3.h @@ -33,8 +33,9 @@ void make_skin_surface_mesh_3(Polyhedron_3 &p, int nSubdivisions=0, bool grow_balls=true) { - if (shrink_factor == 1) { + if (shrink_factor >= 1) { make_union_of_balls_mesh_3(p,begin,end,nSubdivisions); + return; } typedef typename WP_iterator::value_type Weighted_point;