Skip to content

Commit

Permalink
Merge pull request torch#264 from nicholas-leonard/table.unpack
Browse files Browse the repository at this point in the history
table.unpack fix
  • Loading branch information
soumith committed May 14, 2015
2 parents 8b9b5cd + 975360a commit 28bb486
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ function nn.utils.recursiveType(param, type_str)
end
return param
end

table.unpack = table.unpack or unpack

0 comments on commit 28bb486

Please sign in to comment.