From ae6586971d3e09d0814cda48f93f8a97a638c27f Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 20 Sep 2024 09:22:13 +0100 Subject: [PATCH] Fix the order of the parameters --- Frechet_distance/include/CGAL/Frechet_distance/internal/curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frechet_distance/include/CGAL/Frechet_distance/internal/curve.h b/Frechet_distance/include/CGAL/Frechet_distance/internal/curve.h index 4e8e5c07b5c..c2df63f7714 100644 --- a/Frechet_distance/include/CGAL/Frechet_distance/internal/curve.h +++ b/Frechet_distance/include/CGAL/Frechet_distance/internal/curve.h @@ -342,7 +342,7 @@ public: Translated_point translate; auto fraction = pt.getFraction().approx; return translate(points[pt.getPoint()] , - scale(difference(points[pt.getPoint() + 1], points[pt.getPoint()]), fraction)); + scale(difference(points[pt.getPoint() ], points[pt.getPoint() + 1]), fraction)); } Point interpolate_at(PointID const& pt) const { return points[pt]; }