mirror of https://github.com/CGAL/cgal
Simplify expressions
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
parent
31a0557f58
commit
35e069045c
|
|
@ -511,7 +511,7 @@ inline
|
|||
Uncertain<bool> CGAL_AND(bool a, const Uncertain<bool>& b)
|
||||
{
|
||||
return !a ? make_uncertain(false)
|
||||
: a & b;
|
||||
: b;
|
||||
}
|
||||
|
||||
inline
|
||||
|
|
@ -538,7 +538,7 @@ inline
|
|||
Uncertain<bool> CGAL_OR(bool a, const Uncertain<bool>& b)
|
||||
{
|
||||
return a ? make_uncertain(true)
|
||||
: a | b;
|
||||
: b;
|
||||
}
|
||||
|
||||
inline
|
||||
|
|
|
|||
Loading…
Reference in New Issue