From 978023183c2109792917a7edc2cce099b716989d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 10 Sep 2025 09:23:07 +0100 Subject: [PATCH] Undo change as another one is made in PR #9040 --- .../include/CGAL/Polyline_simplification_2/simplify.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Polyline_simplification_2/include/CGAL/Polyline_simplification_2/simplify.h b/Polyline_simplification_2/include/CGAL/Polyline_simplification_2/simplify.h index b2828d617d0..0a4819afcb4 100644 --- a/Polyline_simplification_2/include/CGAL/Polyline_simplification_2/simplify.h +++ b/Polyline_simplification_2/include/CGAL/Polyline_simplification_2/simplify.h @@ -232,9 +232,10 @@ public: void initialize_costs() { + int n=0; Constraint_iterator cit = pct.constraints_begin(), e = pct.constraints_end(); for(; cit!=e; ++cit){ - initialize_costs(*cit); + n+=initialize_costs(*cit); } }