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

[query] default rand_unif to [0, 1] #11833

Merged
merged 2 commits into from
May 17, 2022
Merged

Conversation

danking
Copy link
Contributor

@danking danking commented May 13, 2022

CHANGELOG: hl.rand_unif now has default arguments of 0.0 and 1.0

CHANGELOG: `hl.rand_unif` now has default arguments of 0.0 and 1.0
@@ -2569,13 +2569,16 @@ def rand_pois(lamb, seed=None) -> Float64Expression:


@typecheck(lower=expr_float64, upper=expr_float64, seed=nullable(int))
def rand_unif(lower, upper, seed=None) -> Float64Expression:
def rand_unif(lower=0.0, upper=0.1, seed=None) -> Float64Expression:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.0

@danking danking dismissed tpoterba’s stale review May 13, 2022 18:45

I swear I know how to program

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

Successfully merging this pull request may close these issues.

2 participants