diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 268f0b36c93..508455a7fa3 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -978,7 +978,7 @@ PhysicalParticleContainer::AddPlasma (PlasmaInjector const& plasma_injector, int rrfac = m_gdb->refRatio(0); fine_injection_box.coarsen(rrfac); } - static bool refineplasma = false; + bool refineplasma = false; amrex::ParticleLocator > refinepatch_locator; if (WarpX::refineAddplasma) {