From 9bbfaf3cce52afb0718f659ca6f86473d9d3433a Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Mon, 1 Mar 2010 09:53:07 +0000 Subject: [PATCH] modified the exactness check again so as not to use the deprecated check_tag function --- .../CGAL/Segment_Delaunay_graph_2/Vertex_conflict_C2.h | 4 ++-- .../Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Vertex_conflict_C2.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Vertex_conflict_C2.h index 8b758909664..7469754a791 100644 --- a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Vertex_conflict_C2.h +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Vertex_conflict_C2.h @@ -451,7 +451,7 @@ public: #ifdef CGAL_PROFILE // In case CGAL profile is called then output the sites in case of // a filter failure - if ( check_tag(typename Algebraic_structure_traits::Is_exact()) ) { + if ( Algebraic_structure_traits::Is_exact::value ) { int np = 0; if ( p.is_point() ) ++np; if ( q.is_point() ) ++np; @@ -493,7 +493,7 @@ public: #ifdef CGAL_PROFILE // In case CGAL profile is called then output the sites in case of // a filter failure - if ( check_tag(typename Algebraic_structure_traits::Is_exact()) ) { + if ( Algebraic_structure_traits::Is_exact::value ) { std::ofstream ofs("failure-log.cin", std::ios_base::app); ofs.precision(16); ofs << p << std::endl; diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h index e402c56a0c6..950b1209c30 100644 --- a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h @@ -102,7 +102,7 @@ private: #ifdef CGAL_PROFILE // In case CGAL profile is called then output the sites in case of // a filter failure - if ( check_tag(typename Algebraic_structure_traits::Is_exact()) ) { + if ( Algebraic_structure_traits::Is_exact::value ) { std::ofstream ofs("vv-failure-log.cin", std::ios_base::app); ofs.precision(16); ofs << p << std::endl;