fix bad use of interface.

This commit is contained in:
Vítor Santos Costa 2014-05-25 09:57:17 +01:00
parent b7c05b49e2
commit 8e798db830

View File

@ -551,7 +551,7 @@ fillSolutionList (const std::vector<Params>& results)
YAP_Term belief = YAP_MkFloatTerm (beliefs[j]); YAP_Term belief = YAP_MkFloatTerm (beliefs[j]);
queryBeliefsL = YAP_MkPairTerm (belief, queryBeliefsL); queryBeliefsL = YAP_MkPairTerm (belief, queryBeliefsL);
list = YAP_GetFromSlot (sl); list = YAP_GetFromSlot (sl);
YAP_RecoverSlots (1); YAP_RecoverSlots (1, sl);
} }
list = YAP_MkPairTerm (queryBeliefsL, list); list = YAP_MkPairTerm (queryBeliefsL, list);
} }