From 8771d3f7086a3100d42187c7e669b5460740b4e5 Mon Sep 17 00:00:00 2001 From: David Grote Date: Mon, 14 Dec 2020 10:09:35 -0800 Subject: Made sure that n_rz_azimuthal_modes is declared int everywhere (#1571) --- Source/Particles/PhysicalParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 58e4bee9e..417f76bef 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -578,7 +578,7 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox) Real density_max = plasma_injector->density_max; #ifdef WARPX_DIM_RZ - const long nmodes = WarpX::n_rz_azimuthal_modes; + const int nmodes = WarpX::n_rz_azimuthal_modes; bool radially_weighted = plasma_injector->radially_weighted; #endif -- cgit v1.2.3