Skip to content

Commit 8e54507

Browse files
committed
Merge remote-tracking branch 'cgal/5.6.x-branch' into 'cgal/6.0.x-branch'
2 parents 50f5912 + 8e58237 commit 8e54507

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Triangulation_3/include/CGAL/link_to_face_graph.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@ link_to_face_graph(const Triangulation_3& t,
4040
clear(fg);
4141
vertex_descriptor inf;
4242
vertex_descriptor nullvertex = boost::graph_traits<FG>::null_vertex();
43-
fg.clear();
4443
typedef boost::unordered_map<Vertex_handle, vertex_descriptor> Vertex_map;
4544
Vertex_map vertex_map;
4645
std::vector<Cell_handle> cells;
47-
t.incident_cells(t.infinite_vertex(),std::back_inserter(cells));
46+
t.incident_cells(vh, std::back_inserter(cells));
4847
std::array<vertex_descriptor,3> face;
4948

5049
typename boost::property_map<FG, CGAL::vertex_point_t>::type vpm

0 commit comments

Comments
 (0)