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

return sets #127

Closed
LFPower opened this issue Apr 30, 2021 · 2 comments
Closed

return sets #127

LFPower opened this issue Apr 30, 2021 · 2 comments

Comments

@LFPower
Copy link

LFPower commented Apr 30, 2021

num_storage=num_storage, storage_idx=storage_idx)

In this function, we did not see the return statement. Do we need the following?

return sets

Similar question applied to the function _make_branch_map

@danielolsen
Copy link
Contributor

Without a return statement, julia functions automatically return the value of the last statement evaluated. See https://docs.julialang.org/en/v1/manual/functions/#The-return-Keyword

@danielolsen
Copy link
Contributor

Closed via #118.

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

No branches or pull requests

2 participants