We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cd58ef commit 474a36dCopy full SHA for 474a36d
src/ssw_cpp.cpp
@@ -38,12 +38,12 @@ void BuildSwScoreMatrix(const uint8_t& match_score,
38
matrix[id] = ((i == j) ? match_score : static_cast<int8_t>(-mismatch_penalty));
39
++id;
40
}
41
- matrix[id] = -mismatch_penalty; // For N
+ matrix[id] = static_cast<int8_t>(-mismatch_penalty); // For N
42
43
44
45
for (int i = 0; i < 5; ++i)
46
- matrix[id++] = -mismatch_penalty; // For N
+ matrix[id++] = static_cast<int8_t>(-mismatch_penalty); // For N
47
48
49
0 commit comments