Closed tomasonjo closed 5 years ago
I think this commit fixes it (by doing pretty much the same thing)
On Wed, 3 Apr 2019 at 18:56, Nulleye notifications@github.com wrote:
I have a similar issue, I think I've solved it by adding the starts... line in the for loop in the compute() funtion on DegreeCentrality.java class. I think the starts array is not correctly initialized. Maybe someone can check this out and create a pull request?
public void compute() { ... for (int i = 0; i < taskCount; i++) { starts[i] = (long) batchSize * i;
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/neo4j-contrib/neo4j-graph-algorithms/issues/848#issuecomment-479594697, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAzpAl09j8i-rO59ZfsN49TG6YieADyks5vdOtngaJpZM4cE3CP .
example graph:
Run the algo:
Error: