diff --git a/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h b/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h index 71460c0b1d6..c61d086c9b1 100644 --- a/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h +++ b/Nef_3/include/CGAL/Nef_3/SNC_point_locator.h @@ -234,7 +234,7 @@ public: CGAL_for_each( o, candidates) { if( CGAL::assign( v, *o) && ((mask&1) != 0)) { _CGAL_NEF_TRACEN("trying vertex on "<point()); - if( ray.source() != v->point() && ray.has_on(v->point())) { + if( (ray_source_vertex != v) && (ray.source() != v->point()) && ray.has_on(v->point())) { _CGAL_NEF_TRACEN("the ray intersects the vertex"); _CGAL_NEF_TRACEN("prev. intersection? "<