Skip to content

Commit

Permalink
typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Feb 1, 2013
1 parent 86f2e13 commit abc675f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwt.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ int bwt_smem1(const bwt_t *bwt, int len, const uint8_t *q, int x, int min_intv,
bwtintv_t *p = &prev->a[j];
bwt_extend(bwt, p, ok, 1);
if (c < 0 || ok[c].x[2] < min_intv) { // keep the hit if reaching the beginning or an ambiguous base or the intv is small enough
if (curr->n == 0) { // test curr->n>0 to make sure there is no longer matches
if (curr->n == 0) { // test curr->n>0 to make sure there are no longer matches
if (mem->n == 0 || i + 1 < mem->a[mem->n-1].info>>32) { // skip contained matches
ik = *p; ik.info |= (uint64_t)(i + 1)<<32;
kv_push(bwtintv_t, *mem, ik);
Expand Down

0 comments on commit abc675f

Please sign in to comment.