diff --git a/main.c b/main.c index 481b2459..d5e03079 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "ketopt.h" -#define MM_VERSION "2.13-r860-dirty" +#define MM_VERSION "2.13-r866-dirty" #ifdef __linux__ #include diff --git a/pe.c b/pe.c index 894dcf63..1591c983 100644 --- a/pe.c +++ b/pe.c @@ -54,7 +54,7 @@ void mm_set_pe_thru(const int *qlens, int *n_regs, mm_reg1_t **regs) if (n_pri[0] == 1 && n_pri[1] == 1) { mm_reg1_t *p = ®s[0][pri[0]]; mm_reg1_t *q = ®s[1][pri[1]]; - if (p->rid == q->rid && p->rev == q->rev && abs(p->rs - q->rs) < 3 && abs(p->re - p->re) < 3 + if (p->rid == q->rid && p->rev == q->rev && abs(p->rs - q->rs) < 3 && abs(p->re - q->re) < 3 && ((p->qs == 0 && qlens[1] - q->qe == 0) || (q->qs == 0 && qlens[0] - p->qe == 0))) { p->pe_thru = q->pe_thru = 1;