bugfix: another ">" vs. "<" bug

That hurts, as I am going to reverse all these again!
This commit is contained in:
Heng Li 2013-02-22 11:06:36 -05:00
parent d5820177c6
commit dfc63acc11
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ int mem_sam_pe(const mem_opt_t *opt, const bntseq_t *bns, const uint8_t *pac, co
q_se[1] = is_tandem[1]? q_se[1] : q_pe;
extra_flag |= 2;
} else {
if (o > un) { // then move the pair
if (o < un) { // then move the pair
int tmp[2];
tmp[0] = q_se[0]; tmp[1] = q_se[1];
q_se[0] = z[0] == 0? q_se[0] : tmp[1] < q_pe? tmp[1] : q_pe;