adjust skew weight

This commit is contained in:
chhylp123
2021-09-10 17:18:48 -04:00
parent 809ca18dda
commit 5e84db0ec9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include <pthread.h> #include <pthread.h>
#include <stdint.h> #include <stdint.h>
#define HA_VERSION "0.16.1-r373" #define HA_VERSION "0.16.1-r374"
#define VERBOSE 0 #define VERBOSE 0
+1 -1
View File
@@ -14993,7 +14993,7 @@ kv_u_trans_t *ta, trans_idx* dis, int sc_weight)
if(ta->a[i].nw > sw[(i*3)]) ta->a[i].nw = sw[(i*3)]; if(ta->a[i].nw > sw[(i*3)]) ta->a[i].nw = sw[(i*3)];
if(ta->a[i].nw > sw[(i*3)+1]) ta->a[i].nw = sw[(i*3)+1]; if(ta->a[i].nw > sw[(i*3)+1]) ta->a[i].nw = sw[(i*3)+1];
if(ta->a[i].nw > sw[(i*3)+2]) ta->a[i].nw = sw[(i*3)+2]; if(ta->a[i].nw > sw[(i*3)+2]) ta->a[i].nw = sw[(i*3)+2];
ta->a[i].nw *= 4/**2**/; ta->a[i].nw *= 2/**4**/;
} }
free(sw); free(sw);
} }