From f7fa358585a2e32d881513d26f2f952e8eda3b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 15 Feb 2022 16:40:41 +0100 Subject: [PATCH] remove useless certainly will fail a few lines below anyway --- .../include/CGAL/Intersections_2/Segment_2_Segment_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h b/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h index 19cfb0c0548..b444e4d0e40 100644 --- a/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h +++ b/Intersections_2/include/CGAL/Intersections_2/Segment_2_Segment_2.h @@ -242,8 +242,8 @@ do_intersect_with_info(const typename K::Segment_2 &seg1, typename K::Compare_xy_2 compare_xy; // first try to filter using the bbox of the segments - if (certainly(less_xy(A2,B1)) - || certainly(less_xy(B2,A1))) + if (less_xy(A2,B1) + || less_xy(B2,A1)) return S2S2_inter_info(false); switch(make_certain(compare_xy(A1,B1))) {