diff --git a/algo/src/main/java/org/neo4j/gds/scc/Scc.java b/algo/src/main/java/org/neo4j/gds/scc/Scc.java index 00ece97196..3ef7b2b9af 100644 --- a/algo/src/main/java/org/neo4j/gds/scc/Scc.java +++ b/algo/src/main/java/org/neo4j/gds/scc/Scc.java @@ -57,7 +57,7 @@ public Scc( this.connectedComponents = HugeLongArray.newArray(nodeCount); this.index = HugeLongArray.newArray(nodeCount); this.stack = HugeLongArrayStack.newStack(nodeCount); - this.todo = new PagedLongStack(nodeCount); //can be as high as `2 * graph.relationshipsCount()` if we are unlucky... + this.todo = new PagedLongStack(nodeCount); //can be as high as `graph.relationshipsCount()` if we are unlucky... this.visited = new BitSet(nodeCount); }