mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-28 11:28:11 +08:00
r150: mm_sync_regs() doesn't work with negative id
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user