Fix range enumeration
This commit is contained in:
parent
5b3aad7081
commit
2a3c1338de
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ function f.from(tbl, fpairs, step)
|
|||
end
|
||||
|
||||
return f.new(function()
|
||||
local iv = tbl + ik * (step or 1)
|
||||
local iv = start + ik * (step or 1)
|
||||
ik = ik + 1
|
||||
|
||||
if start > stop and iv >= stop or
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue