[lua-torch-graph] 01/09: New upstream version 0~20161121-g37dac07

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed Jul 26 15:46:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository lua-torch-graph.

commit 3aafb4b068996feb44c7356f8f3d24aa3ef14e9b
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed Jul 26 15:18:16 2017 +0000

    New upstream version 0~20161121-g37dac07
---
 Edge.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Edge.lua b/Edge.lua
index 1ffd670..bd99af2 100644
--- a/Edge.lua
+++ b/Edge.lua
@@ -4,7 +4,8 @@ No methods, just two fields, from and to.
 ]]--
 local Edge = torch.class('graph.Edge')
 
-function Edge:__init(from,to)
+function Edge:__init(from,to,weight)
    self.from = from
    self.to = to
+   self.weight = weight
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lua-torch-graph.git



More information about the debian-science-commits mailing list