r1119: fixed a typo in the new chaining code

Not affecting v2.23
This commit is contained in:
Heng Li 2021-12-25 12:46:26 -05:00
parent d3a89d34d4
commit 36942ff711
2 changed files with 2 additions and 2 deletions

View File

@ -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);

2
main.c
View File

@ -7,7 +7,7 @@
#include "mmpriv.h"
#include "ketopt.h"
#define MM_VERSION "2.23-r1118-dirty"
#define MM_VERSION "2.23-r1119-dirty"
#ifdef __linux__
#include <sys/resource.h>