Skip to content

Commit

Permalink
Merge pull request #8 from torch/lua53
Browse files Browse the repository at this point in the history
lua 5.3 fix
  • Loading branch information
soumith committed Feb 3, 2016
2 parents 381256d + 825ff33 commit 2939ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cinterface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function CInterface:__writechecks(txt, args, argset)
end
end

for variant=0,math.pow(2, nopt)-1 do
for variant=0,(2^nopt)-1 do
local opt = 0
local currentargs = {}
local optargs = {}
Expand Down

0 comments on commit 2939ae7

Please sign in to comment.