Skip to content

Commit

Permalink
replace inclusive_scan for older GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangqingW committed Oct 10, 2023
1 parent fa3c306 commit 6ce64d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flexiplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ EdlibAlignConfig edlibConf = {flank_max_editd, EDLIB_MODE_HW, EDLIB_TASK_PATH,

std::vector<long unsigned int> subpattern_ends;
subpattern_ends.resize(subpattern_lengths.size());
std::inclusive_scan(subpattern_lengths.begin(), subpattern_lengths.end(),
std::partial_sum(subpattern_lengths.begin(), subpattern_lengths.end(),
subpattern_ends.begin());

std::vector<int> read_to_subpatterns;
Expand Down

0 comments on commit 6ce64d3

Please sign in to comment.