Skip to content

Commit

Permalink
Boolean values are legitimate keys
Browse files Browse the repository at this point in the history
  • Loading branch information
nnposter committed Feb 5, 2019
1 parent 6dbce29 commit 2945b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nselib/tableaux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ end
function keys(t)
local ret = {}
local k, v = next(t)
while k do
while k ~= nil do
ret[#ret+1] = k
k, v = next(t, k)
end
Expand Down

0 comments on commit 2945b04

Please sign in to comment.