From 80e02281d5057d0049aa74e8a208e1c7edf97ef7 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Fri, 14 Oct 2011 10:31:48 -0400 Subject: [PATCH] minor change --- bwtgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwtgap.c b/bwtgap.c index 9234f18..d32c3bb 100644 --- a/bwtgap.c +++ b/bwtgap.c @@ -57,7 +57,7 @@ static inline void gap_push(gap_stack_t *stack, int a, int i, bwtint_t k, bwtint p = q->stack + q->n_entries; p->info = (u_int32_t)score<<21 | a<<20 | i; p->k = k; p->l = l; p->n_mm = n_mm; p->n_gapo = n_gapo; p->n_gape = n_gape; p->state = state; - p->last_diff_pos = is_diff? i : -1; + p->last_diff_pos = is_diff? i : 0; ++(q->n_entries); ++(stack->n_entries); if (stack->best > score) stack->best = score;