diff options
Diffstat (limited to 'Edge.lua')
-rw-r--r-- | Edge.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,10 +1,10 @@ --[[ - A Directed Edge class - No methods, just two fields, from and to. +A Directed Edge class +No methods, just two fields, from and to. ]]-- local Edge = torch.class('graph.Edge') function Edge:__init(from,to) - self.from = from - self.to = to + self.from = from + self.to = to end |