modularity()
results differ when called on communities vs with graph + membership
#1927
Labels
stale
Issues that have been inactive for a long time; will be closed in the absence of further activity
This is similar to an old question on SO but not due to weights.
The two different ways given in
?modularity
give different results yet based on the answer to the SO question I don't think this should be the case.The two different ways to compute modularity given in the help are:
For this example these give different results
This is with
igraph_1.2.5
.Note
This shows up on much more complicated graphs as well -- this is the simplest case where I could reproduce
The text was updated successfully, but these errors were encountered: