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

Fix report_single_test for cases with NaNs #140

Merged
merged 1 commit into from
Jun 16, 2024

Conversation

WeiqunZhang
Copy link
Member

The function was broken by AMReX-Codes/amrex#3823. When a variable contains NaNs, the line used to be < NaN present >\n, but now it's < NaN present > followed by white spaces and then \n. In that case, the line is now split into three fields instead of two, and we should skip the last field with just white spaces.

The function was broken by
AMReX-Codes/amrex#3823. When a variable contains
NaNs, the line used to be "< NaN present >\n", but now it's "< NaN present
>" followed by white spaces and then '\n'. In that case, the line is split
into three fields and we should skip the last field with just white spaces.
@WeiqunZhang WeiqunZhang requested a review from zingale June 16, 2024 04:59
@zingale zingale merged commit c8e9987 into AMReX-Codes:main Jun 16, 2024
1 check failed
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