From 3fbc368099a3f5de92b73d621495ad0c2f90c214 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 3 Aug 2010 19:58:32 +0000 Subject: [PATCH] fixed another minor bug --- bam2bcf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bam2bcf.c b/bam2bcf.c index e141438..2f96d32 100644 --- a/bam2bcf.c +++ b/bam2bcf.c @@ -169,7 +169,7 @@ int bcf_call_combine(int n, const bcf_callret1_t *calls, int ref_base /*4-bit*/, for (j = i; j > 0 && sum[j] < sum[j-1]; --j) tmp = sum[j], sum[j] = sum[j-1], sum[j-1] = tmp; // set the reference allele and alternative allele(s) - for (i = 0; i < 4; ++i) call->a[i] = -1; + for (i = 0; i < 5; ++i) call->a[i] = -1; call->unseen = -1; call->a[0] = ref4; for (i = 3, j = 1; i >= 0; --i) { -- 2.39.2