r609: bugfix - SDUST masking not working
This commit is contained in:
parent
704ff9f4c6
commit
2f693e8ca4
2
main.c
2
main.c
|
|
@ -6,7 +6,7 @@
|
||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.5-r607-dirty"
|
#define MM_VERSION "2.5-r609-dirty"
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
|
||||||
2
map.c
2
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;
|
l += ee - ss;
|
||||||
}
|
}
|
||||||
if (l <= span>>1) a[k++] = a[j]; // keep the minimizer if less than half of it falls in masked region
|
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
|
return k; // the new size
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue