From ff4ef89fe32307404c6b35549cf85ee0094f8c40 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sun, 19 Jul 2020 11:22:23 -0400 Subject: [PATCH] r287: fixed the INT32_MAX compiling error --- CommandLines.cpp | 3 ++- CommandLines.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CommandLines.cpp b/CommandLines.cpp index b5343aa..302e8ea 100644 --- a/CommandLines.cpp +++ b/CommandLines.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include "CommandLines.h" #include "ketopt.h" @@ -128,7 +129,7 @@ void init_opt(hifiasm_opt_t* asm_opt) asm_opt->purge_simi_rate = 0.75; asm_opt->purge_overlap_len = 1; asm_opt->recover_atg_cov_min = -1024; - asm_opt->recover_atg_cov_max = INT32_MAX; + asm_opt->recover_atg_cov_max = INT_MAX; asm_opt->hom_global_coverage = -1; } diff --git a/CommandLines.h b/CommandLines.h index f3f3eaa..6740089 100644 --- a/CommandLines.h +++ b/CommandLines.h @@ -3,7 +3,7 @@ #include -#define HA_VERSION "0.9-r281" +#define HA_VERSION "0.9-r287-dirty" #define VERBOSE 0