Fix mpz_class... with g++

In my understanding, the reason is that the full specialization
`Modular_traits<mpz_class>` uses `CGAL::mod`, that its uses
`Coercion_traits<A,B>::Type`. That is why the `Coercion_traits`
specialization for `__gmp_expr` must be known before.
This commit is contained in:
Laurent Rineau 2019-05-15 11:04:37 +02:00
parent 2f7e66096c
commit 2b8d417b2e
1 changed files with 2 additions and 3 deletions

View File

@ -313,6 +313,8 @@ public:
} //namespace CGAL
#include <CGAL/gmpxx.h>
#include <CGAL/gmpxx_coercion_traits.h>
#include <CGAL/Residue.h>
#include <CGAL/Modular_traits.h>
@ -362,7 +364,4 @@ struct Split_double<mpz_class>
#undef CGAL_CHECK_GMP_EXPR
#include <CGAL/gmpxx.h>
#include <CGAL/gmpxx_coercion_traits.h>
#endif // CGAL_MPZ_CLASS_H