From d682d6804840e95b31062b55faad5af132b36613 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 1 Feb 2014 18:37:09 -0500 Subject: use pow_four instead --- kmer_counts_per_sequence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmer_counts_per_sequence.c b/kmer_counts_per_sequence.c index 0cab5e7..d4c0a6b 100644 --- a/kmer_counts_per_sequence.c +++ b/kmer_counts_per_sequence.c @@ -124,7 +124,7 @@ int main(int argc, char **argv) { exit(EXIT_FAILURE); } - width = (unsigned long long)1 << (kmer * 2); + width = pow_four(kmer); if(specific_mers) { sparse = false; -- cgit v1.2.3