Closed DavidGrangier closed 9 years ago
hash.lua:85 defines hash.pairs in the metatable.
This means that h['pairs'] will be true, which is not convenient to check for the presence of the word pair in the hashtable.
This has been fixed with https://github.com/torch/tds/commit/05ceb9c0260c5019c59efc52a5d47fe8cb137d73 , right ?
yes!
hash.lua:85 defines hash.pairs in the metatable.
This means that h['pairs'] will be true, which is not convenient to check for the presence of the word pair in the hashtable.