a bit code cleanup

This commit is contained in:
Heng Li
2020-03-25 10:31:38 -04:00
parent f8351e557a
commit 585bbbe213
4 changed files with 109 additions and 70 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ void ha_sketch(const char *str, int len, int w, int k, uint32_t rid, int is_hpc,
if (l >= k && kmer_span < 256) {
uint64_t y;
y = yak_hash64_64(kmer[z<<1|0]) + yak_hash64_64(kmer[z<<1|1]);
if (hf == 0 || ha_hf_isflt(hf, y) == 0)
if (hf == 0 || ha_ft_isflt(hf, y) == 0)
info.x = y, info.rid = rid, info.pos = i, info.rev = z, info.span = kmer_span;
}
} else l = 0, tq.count = tq.front = 0, kmer_span = 0;