diff --git a/Convex_hull_d/include/CGAL/Delaunay_d.h b/Convex_hull_d/include/CGAL/Delaunay_d.h index dbb49648ecc..22dbd00861b 100644 --- a/Convex_hull_d/include/CGAL/Delaunay_d.h +++ b/Convex_hull_d/include/CGAL/Delaunay_d.h @@ -822,8 +822,7 @@ locate(const Point_d& x) const lifted_kernel().lift_to_paraboloid_d_object();; Lifted_point_d lp = lift(x); if ( is_dimension_jump(lp) ) { - Simplex_iterator s; - for (s = const_cast(this)->simplices_begin(NEAREST); + for (Simplex_iterator s = const_cast(this)->simplices_begin(NEAREST); s != const_cast(this)->simplices_end(); ++s) if ( contains(s,x) ) return s; return Simplex_handle();