fix compilation
This commit is contained in:
@@ -72,7 +72,7 @@ IntervalUDIRefitIndex(struct index_t **ip, UInt b[] USES_REGS)
|
||||
/* no constraints, nothing to gain */
|
||||
if (!IsAttVar(VarOfTerm(XREGS[i+1]))) return;
|
||||
/* be conservative */
|
||||
sz = sizeof(BITS32)*(it->ntrys+it->nentries*2);
|
||||
sz = sizeof(BITS32)*(it->ntrys+it->nentries);
|
||||
/* allocate space */
|
||||
if (!(it->udi_data = malloc(sz)))
|
||||
return;
|
||||
|
@@ -4285,8 +4285,7 @@ Yap_InitCPreds(void)
|
||||
Yap_InitMYDDAS_TopLevelPreds();
|
||||
#endif
|
||||
Yap_udi_init();
|
||||
Yap_udi_range_init();
|
||||
|
||||
Yap_udi_Interval_init();
|
||||
Yap_InitSignalCPreds();
|
||||
Yap_InitUserCPreds();
|
||||
Yap_InitUtilCPreds();
|
||||
|
Reference in New Issue
Block a user