r558: dp_max no less than dp_score
This commit is contained in:
parent
bcf8462d20
commit
98ba8928c6
2
align.c
2
align.c
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue