From b621d3ae38a06484ec4931c944421012b53f775a Mon Sep 17 00:00:00 2001 From: Heng Li Date: Wed, 27 Feb 2013 00:42:19 -0500 Subject: [PATCH] r301: left-align indels Don't know why the change is working... --- ksw.c | 8 ++++---- main.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ksw.c b/ksw.c index 742fec90..4cbcb32b 100644 --- a/ksw.c +++ b/ksw.c @@ -492,10 +492,10 @@ int ksw_global(int qlen, const uint8_t *query, int tlen, const uint8_t *target, uint8_t d; // direction p->h = h1; h += q[j]; - d = h > e? 0 : 1; - h = h > e? h : e; - d = h > f? d : 2; - h = h > f? h : f; + d = h >= e? 0 : 1; + h = h >= e? h : e; + d = h >= f? d : 2; + h = h >= f? h : f; h1 = h; h -= gapoe; e -= gape; diff --git a/main.c b/main.c index 636f8185..76483105 100644 --- a/main.c +++ b/main.c @@ -4,7 +4,7 @@ #include "utils.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.6.2-r300-beta" +#define PACKAGE_VERSION "0.6.2-r301-beta" #endif static int usage()