aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:37:09 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2014-02-01 18:37:09 -0500
commitd682d6804840e95b31062b55faad5af132b36613 (patch)
treea11b298a295d6df713468326f30880bddb2eef0a
parent6a082be55833a096798addd79c041784c79767c0 (diff)
use pow_four instead
-rw-r--r--kmer_counts_per_sequence.c2
1 files changed, 1 insertions, 1 deletions
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;