mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
r1119: fixed a typo in the new chaining code
Not affecting v2.23
This commit is contained in:
2
lchain.c
2
lchain.c
@@ -15,7 +15,7 @@ static int64_t mg_chain_bk_end(int32_t max_drop, const mm128_t *z, const int32_t
|
||||
int32_t s;
|
||||
t[i] = 2;
|
||||
end_i = i = p[i];
|
||||
s = i < 0? z[k].y : (int32_t)z[k].x - f[i];
|
||||
s = i < 0? z[k].x : (int32_t)z[k].x - f[i];
|
||||
if (s > max_s) max_s = s, max_i = i;
|
||||
else if (max_s - s > max_drop) break;
|
||||
} while (i >= 0 && t[i] == 0);
|
||||
|
||||
Reference in New Issue
Block a user