From 1b1dd0cd578ea056d27fa9f50004c26ea2a0f521 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 26 Sep 2017 13:31:01 -0400 Subject: [PATCH] r442: default max_gap to 200 in the sr mode --- main.c | 2 +- map.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index e85af86..89b2c47 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "mmpriv.h" #include "getopt.h" -#define MM_VERSION "2.2-r440-dirty" +#define MM_VERSION "2.2-r442-dirty" #ifdef __linux__ #include diff --git a/map.c b/map.c index 13f76a3..1568675 100644 --- a/map.c +++ b/map.c @@ -77,7 +77,7 @@ int mm_set_opt(const char *preset, mm_idxopt_t *io, mm_mapopt_t *mo) io->is_hpc = 0, io->k = 21, io->w = 11; mo->flag |= MM_F_SR | MM_F_MULTI_SEG | MM_F_SEG_REV; mo->a = 2, mo->b = 8, mo->q = 12, mo->e = 2, mo->q2 = 32, mo->e2 = 1; - mo->max_gap = 100; + mo->max_gap = 200; mo->max_gap_ref = 1000; mo->pri_ratio = 0.5f; mo->min_cnt = 2;