Paulo Moura: fix iso_is_2_35

This commit is contained in:
Vítor Santos Costa 2016-03-05 12:50:43 +00:00
parent da51cfe6b9
commit 1155b6b876

View File

@ -170,7 +170,7 @@ p_mod(Term t1, Term t2 USES_REGS) {
break;
}
case (CELL)double_e:
return Yap_ArithError(TYPE_ERROR_INTEGER, t2, "mod/2");
return Yap_ArithError(TYPE_ERROR_INTEGER, t1, "mod/2");
case (CELL)big_int_e:
#ifdef USE_GMP
switch (ETypeOfTerm(t2)) {