diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-12-15 08:28:43 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-12-15 08:28:43 +0300 |
commit | 9f635fb43f548a7ce22802e4bd2102f7aeee839c (patch) | |
tree | 6a3fb03d9c9cdee9a842cfb268dda52fbdfb0bd4 /PairwiseDistance.lua | |
parent | dad12148926624697dd82b89169bc7cb3704ba9f (diff) | |
parent | a9390772aaf094026696f38613b22a389f22ff32 (diff) |
Merge pull request #532 from xwgeng/master
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 4a3edd3..c7dc096 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 |