Skip to content

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

Merged
danking merged 2 commits intohail-is:mainfrom
danking:fix-rand-unif
May 17, 2022
Merged

[query] default rand_unif to [0, 1]#11833
danking merged 2 commits intohail-is:mainfrom
danking:fix-rand-unif

Conversation

@danking
Copy link
Copy Markdown
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

@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
Copy Markdown
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