General

Profile

tonkpils (Leo Correa)

Issues

Activity

08/20/2015

10:07 PM Ruby master Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
Helder Pereira wrote:
> Leo Correa, I think your patch will fail for this example:
>
> ~~~
> [2, 4, 8, 6, 7].min...
tonkpils (Leo Correa)
08:41 PM Ruby master Bug #11471: min, min_by, max, max_by with optional parameter return a wrong value
I have made a patch that seems to fix the issue for these cases. I'm not entirely sure why there was a multiplier for... tonkpils (Leo Correa)

Also available in: Atom