Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait_random_exponential does not respect min #487

Closed
cjw296 opened this issue Jul 25, 2024 · 1 comment
Closed

wait_random_exponential does not respect min #487

cjw296 opened this issue Jul 25, 2024 · 1 comment

Comments

@cjw296
Copy link

cjw296 commented Jul 25, 2024

I believe the 0 here is incorrect and should be (max(0, self.min):

return random.uniform(0, high)

@asqui
Copy link
Contributor

asqui commented Jul 27, 2024

Fixed by #425 ? (Though it's not merged yet.)

@jd jd closed this as completed Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants