We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea9418 commit 1a7bcfdCopy full SHA for 1a7bcfd
algo/src/main/java/org/neo4j/gds/similarity/nodesim/NodeSimilarity.java
@@ -441,7 +441,7 @@ private long calculateWorkload() {
441
442
//when on concurrency of 1 on not-filtered similarity, we only compare nodeId with greater indexed nodes
443
// so work is halved. This does not hold for filtered similarity, since the targetNodes might be lesser indexed.
444
- boolean isNotFiltered = sourceNodes.equals(NodeFilter.noOp) && targetNodeFilter.equals(NodeFilter.noOp);
+ boolean isNotFiltered = sourceNodeFilter.equals(NodeFilter.noOp) && targetNodeFilter.equals(NodeFilter.noOp);
445
if (concurrency == 1 && isNotFiltered) {
446
workload = workload / 2;
447
}
0 commit comments