Added #ifdef CGAL_USE_GMP

This commit is contained in:
Andreas Fabri 2006-03-29 15:05:59 +00:00
parent a5846f7f4e
commit bb24e0097e
1 changed files with 5 additions and 1 deletions

View File

@ -30,8 +30,12 @@
#include <CGAL/_test_cls_regular_euclidean_traits_3.C>
//needs an exact number type to test the traits class
//typedef double NT;
#ifdef CGAL_USE_GMP
typedef CGAL::Quotient<CGAL::Gmpz> NT;
#else
typedef CGAL::Quotient<CGAL::MP_Float> NT;
#endif
typedef CGAL::Simple_cartesian<NT> K;
// Explicit instantiation of the whole class :