In degenerated cases, when a subconstraint is subdivided by an
intersection point between two other subconstraints, then it is
possible that a subconstraint is already split when one calls
`add_Steiner`. Let's remote the assertion.
This commit is contained in:
Laurent Rineau 2020-10-15 15:43:39 +02:00
parent e37c290841
commit 267b1dc3d1
1 changed files with 3 additions and 1 deletions

View File

@ -1047,7 +1047,9 @@ add_Steiner(T va, T vb, T vc){
<< ")\n";
#endif // CGAL_CDT_2_DEBUG_INTERSECTIONS
Context_list* hcl=nullptr;
if(!get_contexts(va,vb,hcl)) CGAL_triangulation_assertion(false);
if(!get_contexts(va,vb,hcl)) {
return;
}
Context_list* hcl2 = new Context_list;