Skip to content
New issue

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

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

Already on GitHub? # to your account

Poisson distribution falls into an infinite loop for parameter λ=∞ #1291

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

Thopic
Copy link
Contributor

@Thopic Thopic commented Feb 24, 2023

Pull request for issue #1290.

@vks
Copy link
Collaborator

vks commented Feb 25, 2023

Maybe we can also add a test for nan?

@dhardy
Copy link
Member

dhardy commented Feb 27, 2023

@vks this returns NonFinite for both +inf and nan.

Thanks @Thopic.

@dhardy dhardy merged commit 0f3eced into rust-random:master Feb 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants