Skip to content

Conversation

SiriusStarr
Copy link

Fixes #21

minRange and maxRange are used in the let dec due to hi and lo (used in the Random.int sanitization step) already being in scope.

rupertlssmith pushed a commit to elm-janitor/random that referenced this pull request Feb 17, 2023
fixes elm#22

Sanitize input to `float` to avoid invalid values
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.

Random.float lacks sanitization of input and emits invalid numbers when bounds are swapped
1 participant