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

CODEBASE: Change signature of interpolate function in Infiltration code #1843

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

catloversg
Copy link
Contributor

This function is pretty weird. It receives an object ("out"), does its job, mutates "out" to output the result, then returns the "min setting". All callers use it to mutate their internal "difficulty" value and ignore the returned value. When I read its implementation, I thought that it was wrong (why does it mutate "out" but then return "a"?), until I found out that all callers ignored the returned value.

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.

1 participant