From 2f693e8ca4f74dac6d4f0252437d7d33ae81ea60 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Thu, 7 Dec 2017 11:45:38 -0500 Subject: [PATCH] r609: bugfix - SDUST masking not working --- main.c | 2 +- map.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 3b71b74..833edbe 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.5-r607-dirty" +#define MM_VERSION "2.5-r609-dirty" #ifdef __linux__ #include diff --git a/map.c b/map.c index b9177ae..0875ddb 100644 --- a/map.c +++ b/map.c @@ -166,7 +166,7 @@ static int mm_dust_minier(int n, mm128_t *a, int l_seq, const char *seq, int sdu l += ee - ss; } if (l <= span>>1) a[k++] = a[j]; // keep the minimizer if less than half of it falls in masked region - } + } else a[k++] = a[j]; } return k; // the new size }