File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
algo/src/main/java/org/neo4j/gds/hdbscan Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ private BoruvkaMST(
65
65
66
66
this .coreValues = coreValues ;
67
67
//for now use existing tool
68
- this .unionFind = new HugeAtomicDisjointSetStruct (nodeCount , new Concurrency ( 1 ) );
68
+ this .unionFind = new HugeAtomicDisjointSetStruct (nodeCount , concurrency );
69
69
70
70
this .edges = HugeObjectArray .newArray (Edge .class , nodeCount - 1 );
71
71
this .nodeCount = nodeCount ;
@@ -104,7 +104,8 @@ public static BoruvkaMST create(
104
104
var cores = coreResult .createCoreArray ();
105
105
var closestTracker = ClosestDistanceInformationTracker .create (nodeCount , cores , coreResult );
106
106
107
- return new BoruvkaMST (nodePropertyValues ,
107
+ return new BoruvkaMST (
108
+ nodePropertyValues ,
108
109
kdTree ,
109
110
closestTracker ,
110
111
cores ,
@@ -132,7 +133,9 @@ private void performIteration() {
132
133
if (closestDistanceTracker .isNotUpdated ()) {
133
134
134
135
ParallelUtil .parallelForEachNode (
135
- nodeCount , concurrency , terminationFlag ,
136
+ nodeCount ,
137
+ concurrency ,
138
+ terminationFlag ,
136
139
(q ) -> {
137
140
var qArray = nodePropertyValues .doubleArrayValue (q );
138
141
var qComp = unionFind .setIdOf (q );
You can’t perform that action at this time.
0 commit comments