mirror of https://github.com/CGAL/cgal
Reimplement comparison
we had a cycle of > calling < calling > etc
This commit is contained in:
parent
fb8887ee1d
commit
d4a5003a2c
|
|
@ -406,7 +406,9 @@ inline
|
|||
Uncertain<bool>
|
||||
operator<(const Interval_nt<Protected> &a, double b)
|
||||
{
|
||||
return b > a;
|
||||
if (a.sup() < b) return true;
|
||||
if (a.inf() >= b) return false;
|
||||
return Uncertain<bool>::indeterminate();
|
||||
}
|
||||
|
||||
template <bool Protected>
|
||||
|
|
|
|||
Loading…
Reference in New Issue