We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 927f206 commit 0cf7c99Copy full SHA for 0cf7c99
1 file changed
Source/Evolve/WarpXEvolve.cpp
@@ -1087,11 +1087,13 @@ WarpX::OneStep_sub1 (Real cur_time)
1087
1088
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
1089
msg << crse_to_fine_ref_ratio[idim];
1090
- if (idim < AMREX_SPACEDIM - 1) msg << ", ";
+ if (idim < AMREX_SPACEDIM - 1) {
1091
+ msg << ", ";
1092
+ }
1093
}
1094
msg << ")";
1095
- WARPX_ABORT_WITH_MESSAGE(msg.str().c_str());
1096
+ WARPX_ABORT_WITH_MESSAGE(msg.str());
1097
1098
1099
using warpx::fields::FieldType;
0 commit comments