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]; }