Simplify expressions

Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
Sebastien Loriot 2021-08-16 20:51:58 +02:00 committed by GitHub
parent 31a0557f58
commit 35e069045c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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