mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-03 16:28:12 +08:00
r110: fixed a bug caused by refactoring
This commit is contained in:
@@ -308,7 +308,7 @@ mm_reg1_t *mm_align_skeleton(void *km, const mm_mapopt_t *opt, const mm_idx_t *m
|
|||||||
else if (i < r) regs[i++] = regs[r]; // NB: this also move the regs[r].p pointer
|
else if (i < r) regs[i++] = regs[r]; // NB: this also move the regs[r].p pointer
|
||||||
else ++i;
|
else ++i;
|
||||||
}
|
}
|
||||||
*n_regs_ = n_regs;
|
*n_regs_ = i;
|
||||||
mm_sync_regs(km, n_regs, regs);
|
mm_sync_regs(km, n_regs, regs);
|
||||||
return regs;
|
return regs;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user