aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2013-11-15 13:47:07 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2013-11-15 13:47:07 -0500
commit2af65dca1f84acfe320753d5e8fa17133788015b (patch)
tree78f32ca097fc8e1478dd5dccf29c288ba702ea73
parent46f2d59d824805c7e6d14e84ff328a8004fd2949 (diff)
instead of bitshift, use a equality operator
-rw-r--r--kmer_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index 2a739d6..a517c39 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -167,7 +167,7 @@ unsigned long long * get_kmer_counts_from_file(const char *fn, const unsigned in
// for each char in the k-mer check if it is an error char
for(i = posistion + kmer - 1; i >= posistion; i--){
- if(str[i] >> 2) {
+ if(str[i] == 5) {
mer = width;
posistion = i;
goto next;