X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dagnn.git;a=blobdiff_plain;f=dagnn.lua;h=0073e395f039be4a853920e712b26e0627d5547d;hp=0e7e8b0364ffb2b13a6319c9d3ee13c519892b17;hb=e1575dfc09f7a8fe97f74acfe4cbed1e8a617dff;hpb=79f9b2fc425c35c82e07db9cb762c2b04a992bdb diff --git a/dagnn.lua b/dagnn.lua index 0e7e8b0..0073e39 100755 --- 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