Paulo Moura: fix iso_is_2_35
This commit is contained in:
parent
da51cfe6b9
commit
1155b6b876
@ -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)) {
|
||||
|
Reference in New Issue
Block a user