r187: reversed round in clear_opt()

This commit is contained in:
Heng Li
2020-04-03 22:19:55 -04:00
parent 76de054331
commit 18b69f1a72
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -101,13 +101,13 @@ void destory_opt(hifiasm_opt_t* asm_opt)
}
}
void clear_opt(hifiasm_opt_t* asm_opt, int last_round)
void clear_opt(hifiasm_opt_t* asm_opt, int round)
{
asm_opt->complete_threads = 0;
asm_opt->num_bases = 0;
asm_opt->num_corrected_bases = 0;
asm_opt->num_recorrected_bases = 0;
asm_opt->roundID = asm_opt->number_of_round - last_round;
asm_opt->roundID = round;
}
int check_file(char* name, const char* opt)