From 23e0e99ec0744fd70f48dbac8ecbe73d6b219f97 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Thu, 10 Apr 2014 11:54:17 -0400 Subject: [PATCH] dev-471: fixed a compiling error from last commit --- bwamem.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bwamem.c b/bwamem.c index 9a58968..189e58b 100644 --- a/bwamem.c +++ b/bwamem.c @@ -986,7 +986,7 @@ mem_aln_t mem_reg2aln2(const mem_opt_t *opt, const bntseq_t *bns, const uint8_t query[i] = query_[i] < 5? query_[i] : nst_nt4_table[(int)query_[i]]; a.mapq = ar->secondary < 0? mem_approx_mapq_se(opt, ar) : 0; if (ar->secondary >= 0) a.flag |= 0x100; // secondary alignment - if ((ret = bwa_fix_xref2(opt->mat, opt->o_del, opt->e_del, opt->o_ins, opt->e_ins, opt->w, bns, pac, (uint8_t*)query, &qb, &qe, &rb, &re)) < 0) { + if (bwa_fix_xref2(opt->mat, opt->o_del, opt->e_del, opt->o_ins, opt->e_ins, opt->w, bns, pac, (uint8_t*)query, &qb, &qe, &rb, &re) < 0) { if (bwa_verbose >= 2 && name) fprintf(stderr, "[W::%s] A cross-chr hit of read '%s' has been dropped.\n", __func__, name); goto err_reg2aln; diff --git a/main.c b/main.c index dec0b04..6a43b5f 100644 --- a/main.c +++ b/main.c @@ -4,7 +4,7 @@ #include "utils.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.7.8+dev-r470" +#define PACKAGE_VERSION "0.7.8+dev-r471" #endif int bwa_fa2pac(int argc, char *argv[]);