r150: mm_sync_regs() doesn't work with negative id

This commit is contained in:
Heng Li
2017-07-03 11:36:34 -04:00
parent 53c4bf5e4f
commit b625247300
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ mm_reg1_t *mm_map_frag(const mm_mapopt_t *opt, const mm_idx_t *mi, mm_tbuf_t *b,
mm_set_parent(b->km, opt->mask_level, *n_regs, regs);
mm_select_sub(b->km, opt->mask_level, opt->pri_ratio, opt->best_n, n_regs, regs);
}
} else mm_filter_regs(b->km, opt, n_regs, regs);
}
mm_set_mapq(*n_regs, regs);
// free