Modularity runs fine on the network I'm examining if "Use Weights" is unchecked. If it's checked, I get this:
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:251)
To help me solve the issue, can you provide a (small) graph which exhibits this behavior ?
Does it happen on every graph ?
You can find the graph in question here:
Happened to me today as well on a weighted graph.
The issue seems to be caused by some floating point arithmetic. When you remove a node from a community (it happens during the execution), the connections between this node community and the neighbors one are updated and removed if weights is 0. With small weights, is is sometimes very close to zero but not strictly zero.
I have written a small workaround on my personnal fork, but I need more investigation and test to see if it is the right fix.
Any word on whether this will be fixed in trunk anytime soon? I get this error on every weighted modularity I run on different graphs (I guess I make problem weights)
I tested and merged the fix.
Thank you for the work Thomas.