mirror of https://github.com/CGAL/cgal
make an assertion tagged as expensive
This commit is contained in:
parent
b17eb11138
commit
e4277165c6
|
|
@ -976,8 +976,8 @@ collapse_edge(typename boost::graph_traits<Graph>::edge_descriptor v0v1,
|
||||||
join_vertex(pq,g);
|
join_vertex(pq,g);
|
||||||
lP_Erased = true ;
|
lP_Erased = true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGAL_assertion(is_valid(g));
|
CGAL_expensive_assertion(is_valid(g));
|
||||||
|
|
||||||
return lP_Erased ? q : p ;
|
return lP_Erased ? q : p ;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue