Skip to content

Commit

Permalink
Bugfix: OrdinalIterators for hashed sets retrieved directly from NFCo…
Browse files Browse the repository at this point in the history
…mpressedGraph were sized incorrectly
  • Loading branch information
dkoszewnik committed Feb 15, 2022
1 parent e22707f commit 0885bb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private OrdinalIterator iterator(String nodeType, ByteArrayReader reader, NFProp
return EMPTY_ITERATOR;

if(propertySpec.isHashed()) {
reader.setRemainingBytes(1 << size);
reader.setRemainingBytes(1 << (size - 1));
return new HashSetOrdinalIterator(reader);
}

Expand Down

0 comments on commit 0885bb9

Please sign in to comment.