diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Trapezoidal_decomposition_2_impl.h b/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Trapezoidal_decomposition_2_impl.h index 878c65c4a5b..b25b7d7fd01 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Trapezoidal_decomposition_2_impl.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_point_location/Trapezoidal_decomposition_2_impl.h @@ -1540,9 +1540,7 @@ bool Trapezoidal_decomposition_2 typename Arrangement_on_surface_2::Halfedge_around_vertex_const_circulator first, second; first = second = v->incident_halfedges(); ++second; - if (he->source() == v) - he = he->twin(); - CGAL_assertion(he == first); + if (second == first) //if he is the only halfedge around v -> return true return true; return false;