Typo.
[dagnn.git] / dagnn.lua
index 0e7e8b0..0073e39 100755 (executable)
--- a/dagnn.lua
+++ b/dagnn.lua
@@ -144,7 +144,7 @@ function DAG:setInput(i)
             error('Input modules must have outgoing  edges.')
          end
          if #self.node[nnm].pred > 0 then
-            error('Input modules cannog have incoming edges.')
+            error('Input modules cannot have incoming edges.')
          end
       end,
       self.inputModules