mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-08 13:28:13 +08:00
r558: dp_max no less than dp_score
This commit is contained in:
@@ -160,7 +160,7 @@ static void mm_update_extra(mm_reg1_t *r, const uint8_t *qseq, const uint8_t *qu
|
|||||||
toff += len;
|
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);
|
assert(qoff == r->qe - r->qs && toff == r->re - r->rs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user