diff --git a/hit.c b/hit.c index a7c2c8a..2312eaa 100644 --- a/hit.c +++ b/hit.c @@ -147,7 +147,7 @@ void mm_set_parent(void *km, float mask_level, int n, mm_reg1_t *r, int sub_diff ri->parent = rp->parent; rp->subsc = rp->subsc > ri->score? rp->subsc : ri->score; if (ri->cnt >= rp->cnt) cnt_sub = 1; - if (rp->p && ri->p && (rp->rs != ri->rs || rp->re != ri->re || ol != min)) { // the last condition excludes identical hits after DP + if (rp->p && ri->p && (rp->rid != ri->rid || rp->rs != ri->rs || rp->re != ri->re || ol != min)) { // the last condition excludes identical hits after DP rp->p->dp_max2 = rp->p->dp_max2 > ri->p->dp_max? rp->p->dp_max2 : ri->p->dp_max; if (rp->p->dp_max - ri->p->dp_max <= sub_diff) cnt_sub = 1; } diff --git a/main.c b/main.c index 442cba0..35b6bea 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.5-r600-dirty" +#define MM_VERSION "2.5-r601-dirty" #ifdef __linux__ #include