Skip to content

Commit e25aa5e

Browse files
committed
r1121: change bw_long to bw if bw is longer
Resolve #852
1 parent 3bde345 commit e25aa5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ void mm_mapopt_update(mm_mapopt_t *opt, const mm_idx_t *mi)
7474
if (opt->max_mid_occ > opt->min_mid_occ && opt->mid_occ > opt->max_mid_occ)
7575
opt->mid_occ = opt->max_mid_occ;
7676
}
77+
if (opt->bw_long < opt->bw) opt->bw_long = opt->bw;
7778
if (mm_verbose >= 3)
7879
fprintf(stderr, "[M::%s::%.3f*%.2f] mid_occ = %d\n", __func__, realtime() - mm_realtime0, cputime() / (realtime() - mm_realtime0), opt->mid_occ);
7980
}

0 commit comments

Comments
 (0)