diff --git a/C/arith1.c b/C/arith1.c index e5a202bb7..42f45ee15 100644 --- a/C/arith1.c +++ b/C/arith1.c @@ -249,7 +249,7 @@ p_unot(Term t E_ARGS) #ifdef USE_GMP case big_int_e: { - mpz_t new; + MP_INT *new = TMP_BIG(); mpz_init_set(new, Yap_BigIntOfTerm(t)); mpz_com(new, new); @@ -1579,7 +1579,7 @@ p_integer(Term t E_ARGS) RINT((Int) dbl); } else { #ifdef USE_GMP - mpz_t new; + MP_INT *new = TMP_BIG(); mpz_init_set_d(new, dbl); RBIG(new); diff --git a/changes-5.1.html b/changes-5.1.html index e8e77591c..a0ac5c848 100644 --- a/changes-5.1.html +++ b/changes-5.1.html @@ -16,10 +16,13 @@

Yap-5.1.0: