Skip to content

Commit

Permalink
Update reads.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gf777 committed Dec 26, 2024
1 parent 440e76b commit 7cef6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ void InReads::writeToStream() {

std::vector<std::pair<std::vector<InRead*>,uint32_t>> readBatchesCpy;

while (streamOutput || batchCounter < readBatches.size()) {
while (streamOutput || batchCounter-1 < readBatches.size()) {

{
std::unique_lock<std::mutex> lck(mtx);
Expand Down

0 comments on commit 7cef6f2

Please sign in to comment.