diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-03-09 18:36:44 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2016-03-09 18:36:44 +0300 |
commit | d0c239bdcfcd01d0ce77127136d20fc93767c1bf (patch) | |
tree | 6f0b88993057d6562e5a77c372102e72638af939 | |
parent | 2c66c0d9ceed8fdfd4f0230a4d0d38f6d9fbcee0 (diff) | |
parent | ebde0bd1a59fcab7fb441179aa8cf26ab6657c18 (diff) |
Merge pull request #106 from barwimbe/patch-1
Improved error message (expecting table of inputs)
-rw-r--r-- | gmodule.lua | 2 |
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) |