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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNicholas Leonard <nick@nikopia.org>2014-09-11 01:15:03 +0400
committerSoumith Chintala <soumith@gmail.com>2014-10-27 17:05:15 +0300
commit26a9838d89be4eabcc71d30157ade655c2cd6c2c (patch)
treec367324764f2cb0be5408531647963c89cb8d89e /test
parent2c32ca900e66eeaa0721190d98238e507a7d5fe5 (diff)
added msg to recursive tester
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 6a7f2ae..6b490be 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -16,7 +16,7 @@ local nntest = {}
local function equal(t1, t2, msg)
if (torch.type(t1) == "table") then
for k, v in pairs(t2) do
- equal(t1[k], t2[k])
+ equal(t1[k], t2[k], msg)
end
else
mytester:assertTensorEq(t1, t2, 0.00001, msg)