From 577bd4cf7ff3dd57d5c9f4b317a5d9d4c50fd60e Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Sat, 23 Mar 2013 08:15:08 +0100 Subject: [PATCH] use leda_ratioanal if available --- Polygon/test/Polygon/SimplicityTest.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Polygon/test/Polygon/SimplicityTest.cpp b/Polygon/test/Polygon/SimplicityTest.cpp index 28a8be947e0..eb3f32f26f0 100644 --- a/Polygon/test/Polygon/SimplicityTest.cpp +++ b/Polygon/test/Polygon/SimplicityTest.cpp @@ -1,14 +1,8 @@ #define CGAL_POLYGON_DEBUG 1 #include -#include -#ifdef CGAL_USE_GMP -#include -typedef CGAL::Quotient NT; -#else -#include -typedef CGAL::Quotient NT; -#endif +#include + #include #include @@ -23,6 +17,7 @@ using std::endl; bool TestSimplicity(const char* FileName) // tests the simplicity of the polygon in the file FileName { + typedef Arithmetic_kernel::Rational NT; typedef CGAL::Cartesian K; typedef CGAL::Point_2 Point;