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

View File

@@ -498,8 +498,9 @@ static void worker_ovec(void *data, long i, int tid)
R_INF.paf[i].is_abnormal = abnormal;
if (b->save_ov) {
push_overlaps(&(R_INF.paf[i]), &b->olist, 1, &R_INF, 1);
push_overlaps(&(R_INF.reverse_paf[i]), &b->olist, 2, &R_INF, 1);
int is_rev = (asm_opt.number_of_round % 2 == 0);
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);
}
}