networkdynamics / zenlib

The Zero Effort Network Library for Python
http://zen.networkdynamics.org
Other
67 stars 25 forks source link

Fixed DiGraph.edges() call with a nobj #13

Closed fenekku closed 11 years ago

fenekku commented 11 years ago

That one caught my attention when edges_iter(nobj) and edges(nobj) weren't behaving the same way. I think it was mostly a copy-paste issue so there might be others like this around! I've added tests that failed in the previous case and now pass.

Sorry about the deleted and added lines. I am trying to figure out where those are coming from...

druths commented 11 years ago

Guillaume, Thanks for this fix. You're right about the copy-paste errors. There still might be some out there. Thanks for helping find them and kill them off!