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

github.com/torch/nngraph.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-03-09 18:36:44 +0300
committerSoumith Chintala <soumith@gmail.com>2016-03-09 18:36:44 +0300
commitd0c239bdcfcd01d0ce77127136d20fc93767c1bf (patch)
tree6f0b88993057d6562e5a77c372102e72638af939
parent2c66c0d9ceed8fdfd4f0230a4d0d38f6d9fbcee0 (diff)
parentebde0bd1a59fcab7fb441179aa8cf26ab6657c18 (diff)
Merge pull request #106 from barwimbe/patch-1
Improved error message (expecting table of inputs)
-rw-r--r--gmodule.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmodule.lua b/gmodule.lua
index 3501f0c..2a367d4 100644
--- a/gmodule.lua
+++ b/gmodule.lua
@@ -274,7 +274,7 @@ function gModule:runForwardFunction(func,input)
if nInputs <= 1 then
input={input}
elseif type(input) ~= "table" then
- error(string.format("expecting %s inputs", nInputs))
+ error(string.format("expecting table of %s inputs", nInputs))
end
local function neteval(node)
local function propagate(node,x)