diff options
author | Ronan Collobert <ronan@collobert.com> | 2012-02-03 14:04:01 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2012-02-03 14:04:01 +0400 |
commit | ba1788242623cea0e1588dc0853f8c994d47a553 (patch) | |
tree | be6b4319edc42d0b3fc5e521de24528e1c59d6cf /Tester.lua | |
parent | fc16a68f485380906c8889747037f5a9c68fcfbf (diff) |
{min,max,sum,mean,var,std}all now without 'all' in lua
Diffstat (limited to 'Tester.lua')
-rw-r--r-- | Tester.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ function Tester:assertne (val, condition, message) end function Tester:assertTensorEq(ta, tb, condition, message) local diff = ta-tb - local err = diff:abs():maxall() + local err = diff:abs():max() self:assert_sub(err<condition,string.format('%s\n%s val=%s, condition=%s',message,' TensorEQ(~=) violation ', tostring(err), tostring(condition))) end |