mirror of https://github.com/CGAL/cgal
Added #ifdef CGAL_USE_GMP
This commit is contained in:
parent
a5846f7f4e
commit
bb24e0097e
|
|
@ -30,8 +30,12 @@
|
||||||
#include <CGAL/_test_cls_regular_euclidean_traits_3.C>
|
#include <CGAL/_test_cls_regular_euclidean_traits_3.C>
|
||||||
|
|
||||||
//needs an exact number type to test the traits class
|
//needs an exact number type to test the traits class
|
||||||
//typedef double NT;
|
#ifdef CGAL_USE_GMP
|
||||||
typedef CGAL::Quotient<CGAL::Gmpz> NT;
|
typedef CGAL::Quotient<CGAL::Gmpz> NT;
|
||||||
|
#else
|
||||||
|
typedef CGAL::Quotient<CGAL::MP_Float> NT;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef CGAL::Simple_cartesian<NT> K;
|
typedef CGAL::Simple_cartesian<NT> K;
|
||||||
|
|
||||||
// Explicit instantiation of the whole class :
|
// Explicit instantiation of the whole class :
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue