mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-29 00:38:11 +08:00
r197: added an assertion test/suppressed warnings
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#define HA_VERSION "0.3.0-dirty-r196"
|
||||
#define HA_VERSION "0.3.0-dirty-r197"
|
||||
|
||||
#define VERBOSE 0
|
||||
#define VERBOSE_GFA 1
|
||||
|
||||
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user