General

Profile

tonkpils (Leo Correa)

  • Login: tonkpils
  • Email: lcorr005@gmail.com
  • Registered on: 08/20/2015
  • Last sign in: 08/20/2015

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

08/20/2015

10:07 PM Ruby 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:
> ...
I made a test case for that and passed with [2, 4, 6, 7]
tonkpils (Leo Correa)
08:41 PM Ruby 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 data.bufmax in the first place but it seemed to be the cause.
tonkpils (Leo Correa)

Also available in: Atom