patapizza / pylouvain

A Python implementation of the Louvain method to find communities in large networks
110 stars 76 forks source link

Code logic error? #6

Open 2013303386 opened 3 years ago

2013303386 commented 3 years ago

image

image

Directly removing the partition element whose list is empty will cause the actual_partition index n to not match the relabeled community