diff --git a/Envelope_2/test/Envelope_2/test_envelope_segments.cpp b/Envelope_2/test/Envelope_2/test_envelope_segments.cpp index db3eb41389f..fb1ea263ff5 100644 --- a/Envelope_2/test/Envelope_2/test_envelope_segments.cpp +++ b/Envelope_2/test/Envelope_2/test_envelope_segments.cpp @@ -1,16 +1,4 @@ -#include - -#ifdef CGAL_USE_GMP - // GMP is installed. Use the GMP rational number-type. - #include - typedef CGAL::Gmpq NT; -#else - // GMP is not installed. Use CGAL's exact rational number-type. - #include - #include - typedef CGAL::Quotient NT; -#endif - +#include #include #include #include @@ -23,7 +11,8 @@ using std::strcmp; -typedef CGAL::Gmpq NT; +// leda_rational, or Gmpq, or Quotient +typedef CGAL::Arithmetic_kernel::Rational NT; typedef CGAL::Cartesian Kernel; typedef CGAL::Arr_segment_traits_2 Segment_traits_2; typedef CGAL::Arr_curve_data_traits_2 #include -#include #include #include @@ -14,7 +13,8 @@ #include #include -typedef CGAL::Gmpq NT; +// leda_rational, or Gmpq, or Quotient +typedef CGAL::Arithmetic_kernel::Rational NT; typedef CGAL::Cartesian Kernel; typedef Kernel::Point_3 Point_3;