shobrook / communities

Library of community detection algorithms and visualization tools
MIT License
729 stars 102 forks source link

Girvan-Newman algorithm has an error #9

Open ymuhamma01 opened 1 year ago

ymuhamma01 commented 1 year ago

Update line 64 in girvan_newman.py to G = nx.from_numpy_array(adj_matrix) instead of G = nx.from_numpy_matrix(adj_matrix)

ymuhamma01 commented 1 year ago

I have purposed a change on my PR