Skip to content

Commit 0f2ebed

Browse files
Remove an array that is not used anymore
Co-authored-by: Veselin Nikolov <veselin.nikolov@neotechnology.com>
1 parent 99b19c2 commit 0f2ebed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

algo/src/main/java/org/neo4j/gds/leiden/LocalMovePhase.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ static LocalMovePhase create(
7171
double gamma,
7272
int concurrency
7373
) {
74-
var encounteredCommunitiesWeights = HugeDoubleArray.newArray(graph.nodeCount());
75-
encounteredCommunitiesWeights.setAll(c -> -1L);
76-
74+
7775
return new LocalMovePhase(
7876
graph,
7977
seedCommunities,

0 commit comments

Comments
 (0)