From ddb18cceb25d0bbb5f53cb67d39e48480a772dc5 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 7 Dec 2010 10:18:51 +0000 Subject: [PATCH] Add parenthesis to quiet vlang and increase code readability --- Nef_2/include/CGAL/Filtered_extended_homogeneous.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nef_2/include/CGAL/Filtered_extended_homogeneous.h b/Nef_2/include/CGAL/Filtered_extended_homogeneous.h index b845cb47218..164df750bac 100644 --- a/Nef_2/include/CGAL/Filtered_extended_homogeneous.h +++ b/Nef_2/include/CGAL/Filtered_extended_homogeneous.h @@ -949,8 +949,8 @@ bool operator<(const Extended_direction& d1, { Extended_direction 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) ) ); }