From 88bc8d9458ad5ea2e417b401c58d45ed14abb0c1 Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Tue, 19 Feb 2013 16:14:37 +0100 Subject: [PATCH] change of n_inf assertion to support Linf case In Linf, there can be many Linf-parabolae contained in the region of the interior of a non-axis parallel segment. --- .../Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h index e66a801036a..12eef09d243 100644 --- a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h @@ -502,7 +502,7 @@ find_faces_to_split(const Vertex_handle& v, const Site_2& t) const if ( is_infinite(fc) ) { n_inf++; } fc++; } while ( fc != fc_start ); - CGAL_assertion( n_inf == 0 || n_inf == 2 || n_inf == 4 ); + CGAL_assertion( n_inf % 2 == 0 ); } #endif