diff --git a/src/reads.cpp b/src/reads.cpp index 8d7ea4e..e5c8432 100644 --- a/src/reads.cpp +++ b/src/reads.cpp @@ -748,9 +748,8 @@ void InReads::writeToStream() { }); if (!streamOutput && batchCounter == readBatches.size()) return; - auto start = readBatches.begin(); - std::advance(start, batchCounter); - readBatchesCpy = {start, readBatches.end()}; + std::cout<<+batchCounter<<" "<<+readBatches.size()<