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

github.com/torch/graph.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Edge.lua')
-rw-r--r--Edge.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/Edge.lua b/Edge.lua
index f277613..1ffd670 100644
--- a/Edge.lua
+++ b/Edge.lua
@@ -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