This commit is contained in:
Heng Li
2017-06-29 11:11:15 -04:00
parent 9fbf7e41e1
commit c8d122bcdb
5 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ void ksw_extz2_sse(void *km, int qlen, const uint8_t *query, int tlen, const uin
wl = wr = w;
tlen_ = (tlen + 15) / 16;
n_col_ = ((w + 1 < tlen? w + 1 : tlen) + 15) / 16 + 1;
n_col_ = ((w + 1 < tlen? (w + 1 < qlen? w + 1 : qlen): tlen) + 15) / 16 + 1;
qlen_ = (qlen + 15) / 16;
for (t = 1, max_sc = mat[0]; t < m * m; ++t)
max_sc = max_sc > mat[t]? max_sc : mat[t];