mirror of https://github.com/CGAL/cgal
Bug-fix
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:
parent
e37c290841
commit
267b1dc3d1
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue