diff options
author | soumith <soumith@fb.com> | 2015-07-31 19:08:38 +0300 |
---|---|---|
committer | soumith <soumith@fb.com> | 2015-07-31 19:08:38 +0300 |
commit | 5d281f08fe03801750f8438e4b945eb0d2cb2b9b (patch) | |
tree | 54eed611df849d291d54770ee8b7f3b6211f127b | |
parent | b7b4a1558418d5999b9149f3e4dfdff27a6fa773 (diff) |
singletondim test fix
-rw-r--r-- | test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4032,7 +4032,7 @@ function nntest.addSingletonDimension() mytester:assertTensorEq(result:select(dim, 1), tensor, 0, "wrong content for random singleton dimension") - mytester:assertError(function() nn.utils.addSingletonDimension(tensor, dims + 1) end, + mytester:assertError(function() nn.utils.addSingletonDimension(tensor, dims + 2) end, "invalid dimension not detected") end |