From dd36cae7ccd12996d2788f534fd77e2bcd1f57d8 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 25 Sep 2023 16:26:59 +0100 Subject: [PATCH] remove unused variable --- .../include/CGAL/Variational_shape_approximation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h b/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h index ea3896cf1f6..23cfab856f6 100644 --- a/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h +++ b/Surface_mesh_approximation/include/CGAL/Variational_shape_approximation.h @@ -1910,7 +1910,6 @@ private: bool degenerate_chord = false; if (chord_len > FT(0.0)) { Segment_3 seg(pt_begin, pt_end); - chord_vec = scale_functor(chord_vec, FT(1.0) / chord_len); for (Boundary_chord_iterator citr = chord_begin; citr != chord_end; ++citr) { const FT dist = CGAL::approximate_sqrt(CGAL::squared_distance(m_vpoint_map[target(*citr, *m_ptm)], seg)); if (dist > dist_max) {