vtraag / leidenalg

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

Fixed vector::reserve bug #82

Closed vtraag closed 2 years ago

vtraag commented 3 years ago

This fixes the problem identified in issue #79. The problem was that some relabeling did not function correctly when the total weight of a community was zero, while being non-empty.