Skip to content

method sometimes returns a false so to_i it so it to stop 500#6

Open
jsturmfels wants to merge 1 commit intomasterfrom
false-divide-zero
Open

method sometimes returns a false so to_i it so it to stop 500#6
jsturmfels wants to merge 1 commit intomasterfrom
false-divide-zero

Conversation

@jsturmfels
Copy link
Copy Markdown
Contributor

An issue with a method either returning false, or the mins available.

false.to_i resolves to 0 which resolves this issue with minimum input.

@fentonfentonfenton
Copy link
Copy Markdown

👍

@richkettle
Copy link
Copy Markdown

Looks good!

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.

3 participants