Skip to content

Commit

Permalink
Merge pull request #89 from szagoruyko/master
Browse files Browse the repository at this point in the history
global setUp variable in test.lua fix
  • Loading branch information
soumith committed May 17, 2015
2 parents 5ccf5ee + 0aa673c commit 5b47840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3352,7 +3352,7 @@ function cunntest.PReLU_backward()
mytester:assertlt(weightGradError:abs():max(), precision_backward, 'error on weight')
end

function setUp()
local function setUp()
cutorch.setDevice(1)
end

Expand Down

0 comments on commit 5b47840

Please sign in to comment.