aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/WarpXPushFieldsEM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/WarpXPushFieldsEM.cpp')
-rw-r--r--Source/FieldSolver/WarpXPushFieldsEM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/FieldSolver/WarpXPushFieldsEM.cpp b/Source/FieldSolver/WarpXPushFieldsEM.cpp
index 168384413..45b7b3b99 100644
--- a/Source/FieldSolver/WarpXPushFieldsEM.cpp
+++ b/Source/FieldSolver/WarpXPushFieldsEM.cpp
@@ -477,7 +477,7 @@ WarpX::ApplyInverseVolumeScalingToCurrentDensity (MultiFab* Jx, MultiFab* Jy, Mu
int const ishift_t = (rmint > rmin ? 1 : 0);
int const ishift_z = (rminz > rmin ? 1 : 0);
- const long nmodes = n_rz_azimuthal_modes;
+ const int nmodes = n_rz_azimuthal_modes;
// Grow the tileboxes to include the guard cells, except for the
// guard cells at negative radius.