Skip to content

Commit

Permalink
r1121: change bw_long to bw if bw is longer
Browse files Browse the repository at this point in the history
Resolve #852
  • Loading branch information
lh3 committed Dec 26, 2021
1 parent 3bde345 commit e25aa5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions options.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ void mm_mapopt_update(mm_mapopt_t *opt, const mm_idx_t *mi)
if (opt->max_mid_occ > opt->min_mid_occ && opt->mid_occ > opt->max_mid_occ)
opt->mid_occ = opt->max_mid_occ;
}
if (opt->bw_long < opt->bw) opt->bw_long = opt->bw;
if (mm_verbose >= 3)
fprintf(stderr, "[M::%s::%.3f*%.2f] mid_occ = %d\n", __func__, realtime() - mm_realtime0, cputime() / (realtime() - mm_realtime0), opt->mid_occ);
}
Expand Down

0 comments on commit e25aa5e

Please sign in to comment.