fix unification core dump.
This commit is contained in:
parent
81970013ed
commit
488a230169
@ -1375,7 +1375,7 @@ loop:
|
|||||||
return (FALSE);
|
return (FALSE);
|
||||||
#ifdef USE_GMP
|
#ifdef USE_GMP
|
||||||
case (CELL)FunctorBigInt:
|
case (CELL)FunctorBigInt:
|
||||||
if (IsBigIntTerm(d1) && mpz_cmp((MP_INT *)(ap2+2),Yap_BigIntOfTerm(d1)) == 0) continue;
|
if (IsBigIntTerm(d1) && mpz_cmp(Yap_BigIntOfTerm(d0),Yap_BigIntOfTerm(d1)) == 0) continue;
|
||||||
UNWIND_CUNIF();
|
UNWIND_CUNIF();
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
#endif /* USE_GMP */
|
#endif /* USE_GMP */
|
||||||
|
Reference in New Issue
Block a user