diff options
author | Nicholas Leonard <nick@nikopia.org> | 2014-09-11 01:15:03 +0400 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2014-10-27 17:05:15 +0300 |
commit | 26a9838d89be4eabcc71d30157ade655c2cd6c2c (patch) | |
tree | c367324764f2cb0be5408531647963c89cb8d89e /test | |
parent | 2c32ca900e66eeaa0721190d98238e507a7d5fe5 (diff) |
added msg to recursive tester
Diffstat (limited to 'test')
-rw-r--r-- | test/test.lua | 2 |
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) |