diff --git a/C/arith2.c b/C/arith2.c index 6e580bf78..796d3bb52 100644 --- a/C/arith2.c +++ b/C/arith2.c @@ -1059,7 +1059,7 @@ p_max(Term t1, Term t2) } else { MP_INT new; - mpz_init_set(&new, b1); + mpz_init_set(&new, b2); RBIG(&new); } }