Skip to content

Commit

Permalink
Merge pull request #84 from s-will/devel
Browse files Browse the repository at this point in the history
Maintenance updates
  • Loading branch information
s-will authored Jul 10, 2024
2 parents 22a5682 + 3b51c35 commit 96cc8e8
Show file tree
Hide file tree
Showing 2 changed files with 15,495 additions and 8,028 deletions.
4 changes: 2 additions & 2 deletions src/LocARNA/scoring.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ namespace LocARNA {
void
Scoring::subtract(std::vector<score_t> &v, score_t x) const {
std::transform(v.begin(), v.end(), v.begin(),
std::bind2nd(std::minus<score_t>(), x));
[&] (score_t y) {return y - x;});
}
void
Scoring::subtract(Matrix<score_t> &m, score_t x) const {
m.transform(std::bind2nd(std::minus<score_t>(), x));
m.transform([&] (score_t y) {return y - x;});
}

void
Expand Down
Loading

0 comments on commit 96cc8e8

Please sign in to comment.