From 43f8cff92a316fc121bad956cf7e5f52f0d4803b Mon Sep 17 00:00:00 2001 From: Shlomo Golubev Date: Wed, 5 Sep 2007 16:04:05 +0000 Subject: [PATCH] remove warning comparison between enum CGAL::Halfedge_direction and enum CGAL::Sign --- .../CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h b/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h index 8a6cbceb601..17430eacc56 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Arr_trapezoid_ric_pl_impl.h @@ -185,8 +185,8 @@ Object Arr_trapezoid_ric_point_location break; case TD::CURVE: - if ((shoot_up && h->direction() == SMALLER) || - (!shoot_up && h->direction() == LARGER)) + if ((shoot_up && h->direction() == LEFT_TO_RIGHT) || + (!shoot_up && h->direction() == RIGHT_TO_LEFT)) h=h->twin(); return (CGAL::make_object(h));