Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-12-15 08:28:43 +0300
committerSoumith Chintala <soumith@gmail.com>2015-12-15 08:28:43 +0300
commit9f635fb43f548a7ce22802e4bd2102f7aeee839c (patch)
tree6a3fb03d9c9cdee9a842cfb268dda52fbdfb0bd4 /PairwiseDistance.lua
parentdad12148926624697dd82b89169bc7cb3704ba9f (diff)
parenta9390772aaf094026696f38613b22a389f22ff32 (diff)
Merge pull request #532 from xwgeng/master
the statements are redundant
Diffstat (limited to 'PairwiseDistance.lua')
-rw-r--r--PairwiseDistance.lua3
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