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