From 6ac2ff3836b890c4264750a730467ff70bbf6d65 Mon Sep 17 00:00:00 2001 From: RevathiJambunathan Date: Wed, 15 Nov 2023 17:03:41 -0800 Subject: [PATCH] fix incomplete paranthesis --- Source/Initialization/WarpXInitData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index de40296fd67..f7e05e0698b 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -766,7 +766,7 @@ WarpX::InitLevelData (int lev, Real /*time*/) // Externally imposed fields are only initialized until the user-defined maxlevel_extEMfield_init. // The default maxlevel_extEMfield_init value is the total number of levels in the simulation - if ( ( B_ext_grid_s == "constant" && (lev <= maxlevel_extEMfield_init) ) + if ( ( B_ext_grid_s == "constant") && (lev <= maxlevel_extEMfield_init) ) { Bfield_fp[lev][i]->setVal(B_external_grid[i]); if (fft_do_time_averaging) { @@ -783,7 +783,7 @@ WarpX::InitLevelData (int lev, Real /*time*/) } // Externally imposed fields are only initialized until the user-defined maxlevel_extEMfield_init. // The default maxlevel_extEMfield_init value is the total number of levels in the simulation - if ( ( E_ext_grid_s == "constant" && (lev <= maxlevel_extEMfield_init) ) + if ( ( E_ext_grid_s == "constant") && (lev <= maxlevel_extEMfield_init) ) { Efield_fp[lev][i]->setVal(E_external_grid[i]); if (fft_do_time_averaging) {