Skip to content

Commit 0cf7c99

Browse files
committed
Clean-up
1 parent 927f206 commit 0cf7c99

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Source/Evolve/WarpXEvolve.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,11 +1087,13 @@ WarpX::OneStep_sub1 (Real cur_time)
10871087

10881088
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
10891089
msg << crse_to_fine_ref_ratio[idim];
1090-
if (idim < AMREX_SPACEDIM - 1) msg << ", ";
1090+
if (idim < AMREX_SPACEDIM - 1) {
1091+
msg << ", ";
1092+
}
10911093
}
10921094
msg << ")";
10931095

1094-
WARPX_ABORT_WITH_MESSAGE(msg.str().c_str());
1096+
WARPX_ABORT_WITH_MESSAGE(msg.str());
10951097
}
10961098

10971099
using warpx::fields::FieldType;

0 commit comments

Comments
 (0)