picka
picka copied to clipboard
picka.age will return ages outside of the bounds
If I call picka.age(1, 1)
repeatedly I get 1
and 2
as results. I would have expected it to always return 1
. Note that this situation can occur when passing variables to picka.age
, I don't expect people to write this in their code themselves.
I can also get ages outside of the bounds when I call picka.age(0, 1)
which resorts to using the default values and can therefore return any age within the default values.