Kuifje02/vrpy

from_numpy_matrix() is ambiguous when edges have weight 0

Opened this issue · 1 comments

When using the networkx.from_numpy_matrix() method, there is a problem with edges with weight 0. Such edges are not created.

Should put a warning in the docs.

A dirty work around would be to set the weight to epsilon ~0.001. Needs more investigation.