Revert "add an assertion in make_canonical"

This reverts commit f55ffabbe0.
In the exuder, it can happen that this function takes the triple
(Vertex_handle(), Vertex_handle(), Vertex_handle())
so the assertion does not hold
This commit is contained in:
Jane Tournois 2020-06-26 14:57:02 +02:00
parent d4b7af22ba
commit bce4b4e80a
1 changed files with 2 additions and 4 deletions

View File

@ -4229,21 +4229,19 @@ make_canonical_oriented_triple(Vertex_triple& t) const
Vertex_handle tmp;
switch(i)
{
case 0: break;
case 0: return;
case 1:
tmp = t.first;
t.first = t.second;
t.second = t.third;
t.third = tmp;
break;
return;
default:
tmp = t.first;
t.first = t.third;
t.third = t.second;
t.second = tmp;
}
CGAL_assertion(t.first < t.second && t.first < t.third);
}
template < class GT, class Tds, class Lds >