r558: dp_max no less than dp_score

This commit is contained in:
Heng Li
2017-11-08 10:06:10 -05:00
parent bcf8462d20
commit 98ba8928c6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ static void mm_update_extra(mm_reg1_t *r, const uint8_t *qseq, const uint8_t *qu
toff += len;
}
}
p->dp_max = max;
p->dp_max = max > p->dp_score? max : p->dp_score;
assert(qoff == r->qe - r->qs && toff == r->re - r->rs);
}