Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-11-15 23:59:12 +0300
committerGitHub <noreply@github.com>2016-11-15 23:59:12 +0300
commit552b086a903582359186c0d8790de6877fb0bc13 (patch)
treea0be2b1a24937ef48061d338a104e122f10da409 /test
parent97341e27ae35fb3bcfabbad0796dc1a60e0c2cde (diff)
make the tolerance higher for logNormal test
Diffstat (limited to 'test')
-rw-r--r--test/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.lua b/test/test.lua
index 81da692..3eb119f 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -3438,7 +3438,7 @@ end
function torchtest.logNormal()
local t = torch.FloatTensor(10, 10)
local mean, std = torch.uniform(), 0.1 * torch.uniform()
- local tolerance = 0.01
+ local tolerance = 0.02
t:logNormal(mean, std)
local logt = t:log()