picka icon indicating copy to clipboard operation
picka copied to clipboard

picka.age will return ages outside of the bounds

Open svisser opened this issue 10 years ago • 0 comments

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.

svisser avatar Sep 23 '14 22:09 svisser