Skip to content

Commit b59cb1c

Browse files
committed
Fix rebase
1 parent e355a79 commit b59cb1c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

algo/src/test/java/org/neo4j/gds/similarity/knn/GenerateRandomNeighborsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import net.jqwik.api.From;
2424
import net.jqwik.api.Property;
2525
import org.eclipse.collections.api.tuple.primitive.IntIntPair;
26-
import org.neo4j.gds.api.properties.nodes.LongNodePropertyValues;
2726
import org.neo4j.gds.core.huge.DirectIdMap;
2827
import org.neo4j.gds.core.utils.IdentityPropertyValues;
2928
import org.neo4j.gds.core.utils.paged.HugeObjectArray;

proc/common/src/main/java/org/neo4j/gds/nodeproperties/ConsecutiveLongNodePropertyValues.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ConsecutiveLongNodePropertyValues(LongNodePropertyValues inputProperties)
4949
var communityId = setIdToConsecutiveId.getOrDefault(setId, -1);
5050
if (communityId == -1) {
5151
//if this is null, it means this community should not be written
52-
if (longNodeProperties.value(nodeId) != null) {
52+
if (inputProperties.value(nodeId) != null) {
5353
setIdToConsecutiveId.addTo(setId, ++nextConsecutiveId);
5454
communityId = nextConsecutiveId;
5555
} else {

proc/community/src/test/java/org/neo4j/gds/CommunityProcCompanionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ void shouldWorkWithMinComponentAndConsecutive() {
142142
);
143143

144144

145-
for (long i = 0L; i < result.size(); i++) {
145+
for (long i = 0L; i < result.nodeCount(); i++) {
146146
int ii = (int) i;
147147
if (returnedValues[ii] != null) {
148148
assertThat(result.value(i).asObject()).isEqualTo(returnedValues[ii]);

0 commit comments

Comments
 (0)