mirror of https://github.com/CGAL/cgal
Add parenthesis to quiet vlang and increase code readability
This commit is contained in:
parent
7ea41f049b
commit
ddb18cceb2
|
|
@ -949,8 +949,8 @@ bool operator<(const Extended_direction<RT>& d1,
|
||||||
{ Extended_direction<RT> d0(1,0);
|
{ Extended_direction<RT> d0(1,0);
|
||||||
bool d0d1eq = (d1 == d0);
|
bool d0d1eq = (d1 == d0);
|
||||||
bool d0d2eq = (d2 == d0);
|
bool d0d2eq = (d2 == d0);
|
||||||
return (d0d1eq && !d0d2eq) ||
|
return ( (d0d1eq && !d0d2eq) ||
|
||||||
strictly_ordered_ccw(d0,d1,d2) && !d0d2eq;
|
( strictly_ordered_ccw(d0,d1,d2) && (! d0d2eq) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue