Skip to content

Commit

Permalink
Fix flaky SpatialReflectionPadding test.
Browse files Browse the repository at this point in the history
If e.g. sizeX = 6 and padL = padR = -3, then fails.
  • Loading branch information
davidsaxton committed May 20, 2016
1 parent 6f20a83 commit 16429e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5957,8 +5957,8 @@ end
function nntest.SpatialReflectionPadding()
local batch = math.random(1,3)
local plane = math.random(1,3)
local sizeY = math.random(6,16)
local sizeX = math.random(6,16)
local sizeY = math.random(7,16)
local sizeX = math.random(7,16)
local padL = math.random(-3,3)
local padR = math.random(-3,3)
local padT = math.random(-3,3)
Expand Down

0 comments on commit 16429e3

Please sign in to comment.