From 8e798db830193f26452e6ded4e498cb94637c9b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 25 May 2014 09:57:17 +0100 Subject: [PATCH] fix bad use of interface. --- packages/CLPBN/horus/HorusYap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/CLPBN/horus/HorusYap.cpp b/packages/CLPBN/horus/HorusYap.cpp index a4ea5bc86..b1d95ae5e 100644 --- a/packages/CLPBN/horus/HorusYap.cpp +++ b/packages/CLPBN/horus/HorusYap.cpp @@ -551,7 +551,7 @@ fillSolutionList (const std::vector& results) YAP_Term belief = YAP_MkFloatTerm (beliefs[j]); queryBeliefsL = YAP_MkPairTerm (belief, queryBeliefsL); list = YAP_GetFromSlot (sl); - YAP_RecoverSlots (1); + YAP_RecoverSlots (1, sl); } list = YAP_MkPairTerm (queryBeliefsL, list); }