diff --git a/Triangulation_3/include/CGAL/link_to_face_graph.h b/Triangulation_3/include/CGAL/link_to_face_graph.h index a12a8043429..53b13933bf9 100644 --- a/Triangulation_3/include/CGAL/link_to_face_graph.h +++ b/Triangulation_3/include/CGAL/link_to_face_graph.h @@ -40,11 +40,10 @@ link_to_face_graph(const Triangulation_3& t, clear(fg); vertex_descriptor inf; vertex_descriptor nullvertex = boost::graph_traits::null_vertex(); - fg.clear(); typedef boost::unordered_map Vertex_map; Vertex_map vertex_map; std::vector cells; - t.incident_cells(t.infinite_vertex(),std::back_inserter(cells)); + t.incident_cells(vh, std::back_inserter(cells)); std::array face; typename boost::property_map::type vpm