This PR fixes the column alignment when the plotfiles being compared have missing variables or NaNs.
The previous code placed the padding spaces from std::setw(50) after the newline, which showed up as extra indentation on the following line. This moves the newlines to a separate string, so the padding only gets applied to the message.
Additional background
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
Summary
This PR fixes the column alignment when the plotfiles being compared have missing variables or NaNs.
The previous code placed the padding spaces from
std::setw(50)
after the newline, which showed up as extra indentation on the following line. This moves the newlines to a separate string, so the padding only gets applied to the message.Additional background
Checklist
The proposed changes: