Add parenthesis to quiet vlang and increase code readability

This commit is contained in:
Andreas Fabri 2010-12-07 10:18:51 +00:00
parent 7ea41f049b
commit ddb18cceb2
1 changed files with 2 additions and 2 deletions

View File

@ -949,8 +949,8 @@ bool operator<(const Extended_direction<RT>& d1,
{ Extended_direction<RT> d0(1,0);
bool d0d1eq = (d1 == d0);
bool d0d2eq = (d2 == d0);
return (d0d1eq && !d0d2eq) ||
strictly_ordered_ccw(d0,d1,d2) && !d0d2eq;
return ( (d0d1eq && !d0d2eq) ||
( strictly_ordered_ccw(d0,d1,d2) && (! d0d2eq) ) );
}