r234: fixed a bug for -r of an odder number

This commit is contained in:
Heng Li
2020-04-12 19:25:53 -04:00
parent 2d985569f1
commit cdd5f3e4e0
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -498,8 +498,9 @@ static void worker_ovec(void *data, long i, int tid)
R_INF.paf[i].is_abnormal = abnormal; R_INF.paf[i].is_abnormal = abnormal;
if (b->save_ov) { if (b->save_ov) {
push_overlaps(&(R_INF.paf[i]), &b->olist, 1, &R_INF, 1); int is_rev = (asm_opt.number_of_round % 2 == 0);
push_overlaps(&(R_INF.reverse_paf[i]), &b->olist, 2, &R_INF, 1); push_overlaps(&(R_INF.paf[i]), &b->olist, 1, &R_INF, is_rev);
push_overlaps(&(R_INF.reverse_paf[i]), &b->olist, 2, &R_INF, is_rev);
} }
} }
+1 -1
View File
@@ -3,7 +3,7 @@
#include <pthread.h> #include <pthread.h>
#define HA_VERSION "0.3.0-dirty-r230" #define HA_VERSION "0.3.0-dirty-r234"
#define VERBOSE 0 #define VERBOSE 0