We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e4cce commit 81b0063Copy full SHA for 81b0063
cigar_utils.hpp
@@ -64,8 +64,7 @@ cigar_qseq_ops(InputItr itr, const InputItr last) {
64
size_t op_count = 0;
65
while (itr != last) {
66
const size_t curr_val = extract_op_count(itr, last);
67
- if (consumes_query(*itr++))
68
- op_count += curr_val;
+ op_count += curr_val*consumes_query(*itr++);
69
}
70
return op_count;
71
@@ -82,8 +81,7 @@ cigar_rseq_ops(InputItr itr, const InputItr last) {
82
81
83
84
85
- if (consumes_reference(*itr++))
86
+ op_count += curr_val*consumes_reference(*itr++);
87
88
89
0 commit comments