diff options
author | xwgeng <xwgeng@hotmail.com> | 2015-12-15 08:17:55 +0300 |
---|---|---|
committer | xwgeng <xwgeng@hotmail.com> | 2015-12-15 08:17:55 +0300 |
commit | a9390772aaf094026696f38613b22a389f22ff32 (patch) | |
tree | 889d052e666641b5a010aa6acf1a14d17554e0f1 /PairwiseDistance.lua | |
parent | f316d9f0cd235e56bfbb5f7753c9c019a02937d6 (diff) |
the statements are redundant
Diffstat (limited to 'PairwiseDistance.lua')
-rw-r--r-- | PairwiseDistance.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/PairwiseDistance.lua b/PairwiseDistance.lua index 79569c9..2fc2fd0 100644 --- a/PairwiseDistance.lua +++ b/PairwiseDistance.lua @@ -28,9 +28,6 @@ function PairwiseDistance:updateOutput(input) else error('input must be vector or matrix') end - if input[1]:dim() > 2 then - error('input must be vector or matrix') - end return self.output end |