fix bug in create array: argument order was reversed.

This commit is contained in:
Vitor Santos Costa 2008-11-14 14:53:44 +00:00
parent 0ef147459a
commit f5e1b6d029

View File

@ -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