From dd249bb1f079d73efc14eb1e609da49605b50926 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Sat, 16 Apr 2016 21:02:38 +0200 Subject: [PATCH] Call opposite() when changing the order of arguments --- Cartesian_kernel/include/CGAL/Cartesian/function_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h index 3e4b23cf7db..79f68441a2b 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h +++ b/Cartesian_kernel/include/CGAL/Cartesian/function_objects.h @@ -489,7 +489,7 @@ namespace CartesianKernelFunctors { result_type operator()(const Point_3& p1, const Segment_3& s2, const Point_3& p2) const { - return CGAL::internal::compare_distance_ppsC3(p1,p2,s2, K()); + return opposite(CGAL::internal::compare_distance_ppsC3(p1,p2,s2, K())); } template