fix another bug in nth_instance, thanks to Pat Caldon

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1290 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-05-25 18:58:38 +00:00
parent 7e06e3fa36
commit f78cc61bc8
3 changed files with 16 additions and 6 deletions

View File

@@ -721,3 +721,10 @@ halt :-
halt(X) :-
'$halt'(X).
nth_instance(X,Y,Z) :-
nonvar(X), var(Y), var(Z), !,
recorded(X,_,Z),
'$nth_instance'(_,Y,Z).
nth_instance(X,Y,Z) :-
'$nth_instance'(X,Y,Z).