Skip to content

Commit

Permalink
Fixed crash.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Feb 13, 2024
1 parent ba08828 commit c9003f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[2.1.10]
- Fixed a bug that could cause a crash when using a bi-directional coverage
cutoff in query-indexed mode.

[2.1.9]
- Corrected the prefix of the query length field for the SAM format.
- Added the size modifiers 'T', 'M' and 'K' for the `--memory-limit`/`-M`
Expand Down
2 changes: 2 additions & 0 deletions src/data/block/block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ Block* Block::length_sorted(int threads) const {
b->ids_.assign(i, ids_.ptr(j), ids_.end(j));
b->block2oid_.push_back(block2oid_.at(j));
}
if (masked_.size() > 0)
b->masked_.resize(masked_.size(), false);
return b;
}

Expand Down

0 comments on commit c9003f9

Please sign in to comment.