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:
authorxwgeng <xwgeng@hotmail.com>2015-12-15 08:17:55 +0300
committerxwgeng <xwgeng@hotmail.com>2015-12-15 08:17:55 +0300
commita9390772aaf094026696f38613b22a389f22ff32 (patch)
tree889d052e666641b5a010aa6acf1a14d17554e0f1 /PairwiseDistance.lua
parentf316d9f0cd235e56bfbb5f7753c9c019a02937d6 (diff)
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 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