assertion should be before the removal...

This commit is contained in:
Sébastien Loriot 2025-11-10 10:17:33 +01:00
parent 3c7d507530
commit 066159f792
1 changed files with 1 additions and 1 deletions

View File

@ -1804,8 +1804,8 @@ collapse_edge(typename boost::graph_traits<Graph>::edge_descriptor e,
// q will be removed, swap it with p
internal::swap_vertices(p, q, g);
join_face(edges_to_erase[0],g);
join_vertex(qp,g);
CGAL_assertion(source(qp,g)==p);
join_vertex(qp,g);
return q;
}
if(!is_border(opposite(next(qp,g),g),g))