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

Move math out of distribution random methods #3509

Merged
merged 3 commits into from
Jun 7, 2019

Conversation

lucianopaz
Copy link
Contributor

Changed Triangular, TruncatedNormal, Rice and ZeroInflatedNegativeBinomial random method. The math operations between the distribution parameters was moved to _random, and all parameter broadcasting is handled in generate_samples.

This fixes #3481 and #3508, and supersedes PR #3484.

…omial random method. The math operations between the distribution parameters was moved to _random, and all parameter broadcasting is handled in generate_samples. Added tests.
@twiecki twiecki merged commit 43e66a0 into pymc-devs:master Jun 7, 2019
@twiecki
Copy link
Member

twiecki commented Jun 7, 2019

Thanks @lucianopaz!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shape broadcast error in sample_prior_predictive
2 participants