aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/WarpXPushFieldsEM.cpp
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2020-12-14 10:09:35 -0800
committerGravatar GitHub <noreply@github.com> 2020-12-14 10:09:35 -0800
commit8771d3f7086a3100d42187c7e669b5460740b4e5 (patch)
tree5887f6abe998fd8f376ba5d38c4349e9088a5aba /Source/FieldSolver/WarpXPushFieldsEM.cpp
parentaee2ed2c75560bfc5bc29b51ad9cb621166ec834 (diff)
downloadWarpX-8771d3f7086a3100d42187c7e669b5460740b4e5.tar.gz
WarpX-8771d3f7086a3100d42187c7e669b5460740b4e5.tar.zst
WarpX-8771d3f7086a3100d42187c7e669b5460740b4e5.zip
Made sure that n_rz_azimuthal_modes is declared int everywhere (#1571)
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.