Skip to content

s/2 vs. 2/s #250

Description

@jar398

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions