diff --git a/lchain.c b/lchain.c index 37bd62b..d004157 100644 --- a/lchain.c +++ b/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); diff --git a/main.c b/main.c index 1455ca0..e5ed542 100644 --- a/main.c +++ b/main.c @@ -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