fix compilation without gmp.
This commit is contained in:
parent
bc2364c5dc
commit
7085008193
@ -3622,8 +3622,10 @@ YAP_ListToFloats(Term t, double *dblp, size_t sz)
|
||||
dblp[i++] = IntOfTerm(hd);
|
||||
else if (IsLongIntTerm(hd))
|
||||
dblp[i++] = LongIntOfTerm(hd);
|
||||
#if USE_GMP
|
||||
else if (IsBigIntTerm(hd))
|
||||
dblp[i++] = Yap_gmp_to_float(hd);
|
||||
#endif
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user