Skip to content

Fix beta function call in docstring with correct parameters#11407

Open
raoanirudh wants to merge 1 commit intomasterfrom
rng-beta
Open

Fix beta function call in docstring with correct parameters#11407
raoanirudh wants to merge 1 commit intomasterfrom
rng-beta

Conversation

@raoanirudh
Copy link
Copy Markdown
Member

rng.beta() is called with parameters a, b, or alpha, beta: https://numpy.org/doc/stable/reference/random/generated/numpy.random.Generator.beta.html

The actual call below is correct, so fixing only the docstring

`rng.beta()` is called with parameters `a, b`, or `alpha, beta`: https://numpy.org/doc/stable/reference/random/generated/numpy.random.Generator.beta.html

The actual call below is correct, so fixing only the docstring
@raoanirudh raoanirudh requested a review from micheles April 22, 2026 16:37
@raoanirudh raoanirudh self-assigned this Apr 22, 2026
@raoanirudh
Copy link
Copy Markdown
Member Author

Also check if the Sampler class is actually used anywhere, and if not, if it could be removed?
https://github.com/gem/oq-engine/blob/master/openquake/risklib/scientific.py#L134-L176

@micheles micheles added this to the Engine 3.26.0 milestone Apr 23, 2026
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.

2 participants