fix bug in create array: argument order was reversed.
This commit is contained in:
parent
0ef147459a
commit
f5e1b6d029
@ -20,8 +20,8 @@
|
|||||||
% YAP_ARRAYS is defined in Yap.h.m4.
|
% YAP_ARRAYS is defined in Yap.h.m4.
|
||||||
%
|
%
|
||||||
|
|
||||||
array(Size, Obj) :-
|
array(Obj, Size) :-
|
||||||
'$create_array'(Size, Obj).
|
'$create_array'(Obj, Size).
|
||||||
|
|
||||||
|
|
||||||
% arithmetical optimization
|
% arithmetical optimization
|
||||||
|
Reference in New Issue
Block a user