boost by default for exact integer

This commit is contained in:
Sébastien Loriot 2022-07-21 20:40:59 +02:00
parent 01ff86fa84
commit 5460a9aa3a
2 changed files with 3 additions and 4 deletions

View File

@ -50,11 +50,10 @@ typedef unspecified_type Exact_integer;
#else // not DOXYGEN_RUNNING #else // not DOXYGEN_RUNNING
#if ( (defined(CGAL_TEST_SUITE) && CGAL_VERSION_NR == 1050500900) || defined(CGAL_FORCE_USE_BOOST_MP))\ #if BOOST_VERSION > 107900 && defined(CGAL_USE_BOOST_MP)
&& BOOST_VERSION > 107800 && defined(CGAL_USE_BOOST_MP)
// use boost-mp by default in the testsuite until 5.5-beta is out // use boost-mp by default in the testsuite until 5.5-beta is out
typedef BOOST_cpp_arithmetic_kernel::Integer Exact_integer; typedef BOOST_cpp_arithmetic_kernel::Integer Exact_integer;
#else // BOOST_VERSION > 107800 #else // BOOST_VERSION > 107900
#ifdef CGAL_USE_GMPXX #ifdef CGAL_USE_GMPXX
typedef mpz_class Exact_integer; typedef mpz_class Exact_integer;
#elif defined(CGAL_USE_GMP) #elif defined(CGAL_USE_GMP)

View File

@ -85,7 +85,7 @@ struct Exact_field_selector
#else #else
{ typedef Quotient<MP_Float> Type; }; { typedef Quotient<MP_Float> Type; };
#endif #endif
#endif // BOOST_VERSION > 107800 #endif // BOOST_VERSION > 107900
// By default, a field is a safe choice of ring. // By default, a field is a safe choice of ring.
template < typename T > template < typename T >