diff --git a/util/ego/ra/ra_profits.c b/util/ego/ra/ra_profits.c index 2ca6d361e..1d0717c1d 100644 --- a/util/ego/ra/ra_profits.c +++ b/util/ego/ra/ra_profits.c @@ -229,7 +229,7 @@ compute_profits(alloclist,time_opt) } t = cnt * time - dyn_inits(alloc->al_inits) * otime; sc = (time_opt ? t : s); - if (sc >= maxsc) { + if (sc > maxsc) { maxsc = sc; alloc->al_regtype = rtyp; alloc->al_profits = sc;