Skip to content

Commit

Permalink
Update SamComparison.java
Browse files Browse the repository at this point in the history
Additional refactors to fix possible problematic for loops for remaning reads.
  • Loading branch information
gokalpcelik authored Dec 16, 2024
1 parent 5869e86 commit ed21594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/picard/sam/util/SamComparison.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ private void consumeAll(
}
}

private int countRemaining(final SecondaryOrSupplementarySkippingIterator it) {
int i;
private long countRemaining(final SecondaryOrSupplementarySkippingIterator it) {
long i;
for (i = 0; it.hasCurrent(); ++i) {
it.advance();
}
Expand Down

0 comments on commit ed21594

Please sign in to comment.