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

ParmParse queryAddWithParser No Const #4285

Merged

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Jan 6, 2025

Summary

ParmParse::queryAddWithParser might manipulate the internal state and should not be a const method.

These parser functions might need a unit test in AMReX?

Additional background

First seen in ECP-WarpX/impactx#743

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

`ParmParse::queryAddWithParser` might manipulate the internal state
and should not be a const method.
@WeiqunZhang WeiqunZhang merged commit d7cc380 into AMReX-Codes:development Jan 7, 2025
75 checks passed
@ax3l ax3l deleted the fix-query-add-parser-noconst branch January 8, 2025 02:41
@ax3l ax3l mentioned this pull request Jan 9, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants