From abab39c20438dfdcb4d804955c0023f437e55141 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Tue, 25 Oct 2016 11:57:42 +0200 Subject: [PATCH] Remove workaround for missing arithmetic kernel. --- Number_types/test/Number_types/root_of_2.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Number_types/test/Number_types/root_of_2.cpp b/Number_types/test/Number_types/root_of_2.cpp index 32d6ac39be7..23ea3986d2a 100644 --- a/Number_types/test/Number_types/root_of_2.cpp +++ b/Number_types/test/Number_types/root_of_2.cpp @@ -597,10 +597,8 @@ int main(int argc, char **argv) { #endif #ifdef CGAL_USE_GMPXX - std::cout << "Testing Sqrt_extension with Quotient mpz_class" << std::endl; - //no specialization of Get_arithmetic_kernel of mpz_class is available, the default is to suppose it is - //a ring type and make a field type using CGAL::Quotient. - result = result && test_root_of_g,CGAL::Quotient,CGAL::Tag_true,CGAL::Tag_true >,mpz_class,CGAL::Quotient >(); + std::cout << "Testing Sqrt_extension with mpq_class" << std::endl; + result = result && test_root_of >(); #endif if (result) {