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

s/2 vs. 2/s #250

Open
jar398 opened this issue Feb 18, 2020 · 0 comments
Open

s/2 vs. 2/s #250

jar398 opened this issue Feb 18, 2020 · 0 comments

Comments

@jar398
Copy link

jar398 commented Feb 18, 2020

In normal.py, the comment says
rho ~ Gamma(nu/2, s/2)
but the code says
rho = rng.gamma(nu/2., scale=2./s)

This is confusing. Either the comment is wrong, or else the presentation would be improved by explaining that Gamma and rng.gamma do different things.

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

1 participant