From 5a02c62a4181cf330b67990fca5ec989f1f7dd9c Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Mon, 18 Jul 2022 09:57:15 +0300 Subject: [PATCH] Fixed the case where left and right sides are identified, and the bottom and top sides have boundary conditions (but they are not identied). --- .../include/CGAL/Arrangement_2/Arr_traits_adaptor_2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_traits_adaptor_2.h b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_traits_adaptor_2.h index 890a4fe9caa..a89043def67 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_traits_adaptor_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_traits_adaptor_2.h @@ -391,9 +391,8 @@ public: // The endpoints of xcv lie on the same boundary as p. // There is no way to determine whether xcv completely resides on the same // boundary of p. Lacking a better choice, we call the base operator. - cmp_y_at_x(p, xcv); - CGAL_assertion(ps_y == ARR_TOP_BOUNDARY); + return cmp_y_at_x(p, xcv); } /*! 8. Implementation of the operator in case the left and right sides are