From 83f773cf28a03305fa525f6e55c7da6c8ccc5854 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Sat, 7 Apr 2007 09:39:45 +0000 Subject: [PATCH] cleanup - added parentheses to pacify some come compiler --- .../include/CGAL/Partition_2/partition_optimal_convex_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Partition_2/include/CGAL/Partition_2/partition_optimal_convex_2.h b/Partition_2/include/CGAL/Partition_2/partition_optimal_convex_2.h index 1c8f32ae0dc..b9bd760ec34 100644 --- a/Partition_2/include/CGAL/Partition_2/partition_optimal_convex_2.h +++ b/Partition_2/include/CGAL/Partition_2/partition_optimal_convex_2.h @@ -254,8 +254,8 @@ int partition_opt_cvx_decompose(unsigned int edge_num1, unsigned int edge_num2, for (size_type e_num = edge_num1; e_num <= edge_num2; e_num++) { - if (edges[edge_num1][e_num].is_visible() && - edges[e_num][edge_num2].is_visible() || + if ((edges[edge_num1][e_num].is_visible() && + edges[e_num][edge_num2].is_visible() ) || collinearly_visible(edge_num1, e_num, edge_num2, edges, polygon, traits) ) {