Skip to content

Commit

Permalink
avoid compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cjain7 committed May 8, 2020
1 parent c88632a commit 3bc74ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3bc74ed

Please sign in to comment.