r526: fixed a bug when HPC is in use

It happened when the query HPC minimizer is longer than the reference HPC
minimizer close to the beginning of a contig. We may get a negative coordinate,
which causes an assertion failure.
This commit is contained in:
Heng Li
2017-10-21 19:54:04 -04:00
parent be7f3c4ffe
commit beeb806829
4 changed files with 68 additions and 66 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "getopt.h"
#define MM_VERSION "2.2-r525-dirty"
#define MM_VERSION "2.2-r526-dirty"
#ifdef __linux__
#include <sys/resource.h>