util/array.lua

changeset 1922
d5fe0f9b377a
parent 1921
5ac99cd46545
child 1934
e14cf28396a8
--- a/util/array.lua	Mon Oct 05 17:56:31 2009 +0100
+++ b/util/array.lua	Mon Oct 05 18:39:28 2009 +0100
@@ -43,7 +43,7 @@
 		end
 	end
 	
-	if inplace and write < start_length then
+	if inplace and write <= start_length then
 		for i=write,start_length do
 			outa[i] = nil;
 		end

mercurial