Skip to content

Commit

Permalink
Fix casting operators
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Jan 23, 2025
1 parent a78f64b commit 3c79fec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
# runner image list, https://github.com/actions/runner-images
os: [ ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-15-large, macos-15, macos-14-large, macos-14, macos-13, macos-13-xlarge, macos-12, windows-2019, windows-2022 ]
os: [ ubuntu-24.04, macos-14-large, macos-14 ]

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions src/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
sequence identities >= 50% and processing the database in multiple super
blocks.
- Fixed a bug that could cause a crash in global ranking mode.
- Accession parsing rules applied to database sequences accessions for the
- Accession parsing rules applied to database sequence accessions for the
purpose of matching them to accessions in the taxonomy mapping file are now
by default also applied to the accessions in the mapping file (disable using
`--no-parse-seqids`).
Expand Down Expand Up @@ -60,13 +60,13 @@
file all exhibit the problem.
- Fixed a bug that caused setting `--top 100` not to function correctly.
- Fixed a bug that caused target coordinates not to be reported correctly in
the output of the realign workflow.
the output of the `realign` workflow.
- Fixed a bug that did not permit using the '--memory-limit/-M' option for
the realign workflow.
the `realign` workflow.
- Fixed an issue that could cause non-deterministic output in frameshift
alignment mode.
- Fixed a bug that could cause a crash when using the XML output format in
the view workflow.
the `view` workflow.
- Added the sensitivity modes `--linclust-20` and `--linclust-40`.
- Fixed an issue that could cause non-deterministic output for identically-scoring
HSPs in the same target.
Expand Down
6 changes: 6 additions & 0 deletions src/dp/swipe/stat_cell.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ struct ForwardCell<int32_t> {
operator int32_t() const {
return v;
}
operator int32_t&() {
return v;
}
ForwardCell(const int32_t v) :
v(v),
ident(0),
Expand Down Expand Up @@ -123,6 +126,9 @@ struct BackwardCell<int32_t> {
operator int32_t() const {
return v;
}
operator int32_t& () {
return v;
}
BackwardCell(const int32_t v) :
v(v),
mismatch(0),
Expand Down

0 comments on commit 3c79fec

Please # to comment.