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

sync up react_state's return type #2570

Merged
merged 10 commits into from
Sep 24, 2023

Conversation

zingale
Copy link
Member

@zingale zingale commented Sep 21, 2023

PR summary

We had the return type as bool, but were returning an int. This shouldn't matter,
but this makes it consistent.

PR motivation

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level
  • all newly-added functions have docstrings as per the coding conventions
  • the CHANGES file has been updated, if appropriate
  • if appropriate, this change is described in the docs

@zingale zingale changed the title React state return sync up react_state's return type Sep 21, 2023
} else {
return false;
}
return burn_success == 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that the return type is int, can we just return burn_success?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@zingale zingale merged commit 28e646a into AMReX-Astro:development Sep 24, 2023
18 checks passed
@zingale zingale deleted the react_state_return branch September 24, 2023 01:31
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