diff --git a/CommandLines.h b/CommandLines.h index bded5b2..8bd4aff 100644 --- a/CommandLines.h +++ b/CommandLines.h @@ -3,7 +3,7 @@ #include -#define HA_VERSION "0.3.0-dirty-r196" +#define HA_VERSION "0.3.0-dirty-r197" #define VERBOSE 0 #define VERBOSE_GFA 1 diff --git a/Purge_Dups.cpp b/Purge_Dups.cpp index ee8c1c0..65a3e53 100644 --- a/Purge_Dups.cpp +++ b/Purge_Dups.cpp @@ -900,8 +900,8 @@ long long* r_y_pos_beg, long long* r_y_pos_end) uint32_t xLeftBeg, xLeftLen, yLeftBeg, yLeftLen; uint32_t xRightBeg, xRightLen, yRightBeg, yRightLen; uint64_t totalWeigth; - double xLeftMatch, xLeftTotal, yLeftMatch, yLeftTotal; - double xRightMatch, xRightTotal, yRightMatch, yRightTotal; + double xLeftMatch = 0, xLeftTotal = 0, yLeftMatch = 0, yLeftTotal = 0; + double xRightMatch = 0, xRightTotal = 0, yRightMatch = 0, yRightTotal = 0; asg_arc_t_offset* arch = NULL; for (i = hap_can->index_beg, totalWeigth = 0; i <= hap_can->index_end; i++) @@ -964,7 +964,7 @@ long long* r_y_pos_beg, long long* r_y_pos_end) &yRightMatch, &yRightTotal); max_count = xLeftMatch + yRightMatch; min_count = xLeftTotal + yRightTotal; - } + } else abort(); hap_can->weight = hap_can->index_beg = 0;