barahona-research-group / PyGenStability

PyGenStability: Multiscale community detection with generalized Markov Stability
https://barahona-research-group.github.io/PyGenStability/
GNU General Public License v3.0
32 stars 11 forks source link

handling weights=0 #20

Closed arnaudon closed 4 years ago

arnaudon commented 4 years ago

replacve the equal signe here https://github.com/ImperialCollegeLondon/PyGenStability/blob/master/pygenstability/pygenstability.py#L33 with a drop 0 form sparse matrix for possible speedup

arnaudon commented 4 years ago

done in https://github.com/ImperialCollegeLondon/PyGenStability/commit/df97c3ad13de87ab16dab4d8f2b6dc1d94705b9d