diff --git a/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h b/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h index af8413df483..287731bb8b8 100644 --- a/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h +++ b/Packages/Convex_hull_3/include/CGAL/convex_hull_3.h @@ -245,7 +245,7 @@ find_visible_set(const typename Traits::Point_3& point, visible.push_back(f); } } - hdl_curr = hdl_curr->next(); + hdl_curr++; } while (hdl_curr != hdl_init); } diff --git a/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h b/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h index 5cdb185a091..9c0bca810bf 100644 --- a/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h +++ b/Packages/Convex_hull_3/include/CGAL/convexity_check_3.h @@ -57,7 +57,7 @@ bool is_locally_convex(Facet_handle f_hdl, const Traits& traits) // Point must be on the plane or on the negative side if (has_on_positive_side((*f_hdl).plane(), point)) return false; - h_circ = h_circ->next(); + h_circ++; } while ( h_circ != (*f_hdl).facet_begin()); return true;