Menu

#3 setting edge daa via add_edge() broken (PATCH INCLUDED)

open
nobody
None
5
2005-10-23
2005-10-23
Anonymous
No

in pygraphlib.py, around line 82,

if data is not None:
self._edge_data[node_pair] = data

should actually read:

if data is not None:
self._edge_data[edge] = data

because _edge_data is keyed by the edge_id.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.