From 3bc74ed41490525e930d81cfec1b30a202307b9c Mon Sep 17 00:00:00 2001 From: Chirag Jain Date: Thu, 7 May 2020 21:17:50 -0400 Subject: [PATCH] avoid compile warning --- src/index.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.c b/src/index.c index 7deda4b..465e07e 100644 --- a/src/index.c +++ b/src/index.c @@ -395,8 +395,9 @@ mm_idx_t *mm_idx_gen(mm_bseq_file_t *fp, int w, int k, int b, int flag, int mini while(idt >> kmer >> freq) cnt++; + //kmer length used for kmer counting and mapping must be consistent if(cnt > 0) - assert(("kmer length used for kmer counting and mapping must be consistent", kmer.length() == k)); + assert(kmer.length() == k); //set up bloom filter bloom_parameters parameters;