mirror of https://github.com/CGAL/cgal
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:
parent
d4b7af22ba
commit
bce4b4e80a
|
|
@ -4229,21 +4229,19 @@ make_canonical_oriented_triple(Vertex_triple& t) const
|
||||||
Vertex_handle tmp;
|
Vertex_handle tmp;
|
||||||
switch(i)
|
switch(i)
|
||||||
{
|
{
|
||||||
case 0: break;
|
case 0: return;
|
||||||
case 1:
|
case 1:
|
||||||
tmp = t.first;
|
tmp = t.first;
|
||||||
t.first = t.second;
|
t.first = t.second;
|
||||||
t.second = t.third;
|
t.second = t.third;
|
||||||
t.third = tmp;
|
t.third = tmp;
|
||||||
break;
|
return;
|
||||||
default:
|
default:
|
||||||
tmp = t.first;
|
tmp = t.first;
|
||||||
t.first = t.third;
|
t.first = t.third;
|
||||||
t.third = t.second;
|
t.third = t.second;
|
||||||
t.second = tmp;
|
t.second = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
CGAL_assertion(t.first < t.second && t.first < t.third);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template < class GT, class Tds, class Lds >
|
template < class GT, class Tds, class Lds >
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue