Skip to content

Commit 496a320

Browse files
Fix constructor call
1 parent 1e49437 commit 496a320

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

algo/src/main/java/org/neo4j/gds/kcore/KCoreDecomposition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public KCoreDecomposition(Graph graph, Concurrency concurrency, ProgressTracker
5252
this(graph, concurrency, progressTracker, CHUNK_SIZE);
5353
}
5454

55-
KCoreDecomposition(Graph graph, Concurrency concurrency, ProgressTracker progressTracker, int chunkSize) {
55+
public KCoreDecomposition(Graph graph, Concurrency concurrency, ProgressTracker progressTracker, int chunkSize) {
5656
super(progressTracker);
5757
this.graph = graph;
5858
this.concurrency = concurrency;

algorithms-compute-facade/src/main/java/org/neo4j/gds/community/CommunityComputeFacade.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ CompletableFuture<TimedAlgorithmResult<KCoreDecompositionResult>> kCore(
301301
var algorithm = new KCoreDecomposition(
302302
graph,
303303
parameters.concurrency(),
304-
progressTracker,
305-
terminationFlag
304+
progressTracker
306305
);
307306

308307
return algorithmCaller.run(
@@ -465,7 +464,6 @@ CompletableFuture<TimedAlgorithmResult<LouvainResult>> louvain(
465464
graph,
466465
parameters,
467466
progressTracker,
468-
DefaultPool.INSTANCE,
469467
terminationFlag
470468
);
471469

0 commit comments

Comments
 (0)