wting / python-graph

Automatically exported from code.google.com/p/python-graph
Other
5 stars 4 forks source link

error in "hypergraph.rank()" method #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"for each in hyperedges:" SHOULD BE "for each in self.hyperedges():"

right?

Original issue reported on code.google.com by jes...@gmail.com on 20 Oct 2009 at 11:53

GoogleCodeExporter commented 9 years ago
It should indeed be self.hyperedges(), but it would seem that is already the 
case:

http://code.google.com/p/python-graph/source/browse/trunk/core/pygraph/classes/h
ypergraph.py#297

  Can you confirm what version you are using?

Original comment by christian.muise on 20 Oct 2009 at 1:30

GoogleCodeExporter commented 9 years ago
Christian, while (if) you are looking into this, would you mind verifying that 
the
relevant unit-test has decent coverage over this function? 

Original comment by salimfadhley@gmail.com on 20 Oct 2009 at 1:59

GoogleCodeExporter commented 9 years ago
I can confirm that this bug seems to have been fixed in Trunk, I'm not even 
sure if
it was ever broken in an official released version. 

Original comment by salimfadhley@gmail.com on 21 Oct 2009 at 12:31