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