Skip to content

Commit 58ef9f3

Browse files
committed
Merge branch 'develop' into develop-64
2 parents bc0d966 + 23fcd28 commit 58ef9f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libhdt/src/triples/BitmapTriplesIterators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ void ObjectIndexIterator::updateOutput() {
785785

786786
bool ObjectIndexIterator::hasNext()
787787
{
788-
return posIndex <= maxIndex;
788+
return posIndex <= maxIndex && maxIndex >= 0;
789789
}
790790

791791
TripleID *ObjectIndexIterator::next()

0 commit comments

Comments
 (0)