vtraag / leidenalg

Implementation of the Leiden algorithm for various quality functions to be used with igraph in Python.
GNU General Public License v3.0
598 stars 78 forks source link

Setting membership to communities higher than number of nodes yields errors. #11

Closed vtraag closed 5 years ago

vtraag commented 5 years ago

If the membership is set to any number that is larger than the number of nodes (by move_nodes or set_membership or using initial_membership), this may lead to some problems.