bugfix: invalid variable reference

variable v does not exist... the function is not commented so I
can't be sure of the intention, but the most backwards-compatible
fix is to not pass argument v, so that it will be nil as before.

this bug was revealed by enabling lua "strict mode"
This commit is contained in:
Chris Beck 2014-11-22 16:42:20 -05:00
parent a65d168317
commit d31253f585

View file

@ -100,7 +100,7 @@ function methods:stable_iter(f)
table.sort(indices)
for i,p in ipairs(indices) do
local x, y = revindex(p)
f(x, y, v)
f(x, y)
end
end