aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/array.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua
index bbf26f32..316a2861 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -43,7 +43,7 @@ function array_base.filter(outa, ina, func)
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