partial fix to predicate_property trouble (obs from Nicos).
fix core dump when writing arrays without bignum support. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2217 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -61,6 +61,7 @@ split(SplitCodes, [C|New], Set) -->
|
||||
split(_, [], []) --> [].
|
||||
|
||||
glue([], _, []).
|
||||
glue([A], _, A) :- !.
|
||||
glue([H|T], [B|_], Merged) :-
|
||||
append(H, [B|Rest], Merged),
|
||||
glue(T, [B], Rest).
|
||||
|
Reference in New Issue
Block a user