From deea0e1b3b96ac6f2ffc9a206f8f07f229c216ba Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Mon, 29 Apr 2019 16:02:24 -0700 Subject: [PATCH] fix typo --- Source/Particles/MultiParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index 42a8bcbfb00..a4df1f83a98 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -33,7 +33,7 @@ MultiParticleContainer::MultiParticleContainer (AmrCore* amr_core) if (WarpX::do_boosted_frame_diagnostic && WarpX::do_boosted_frame_particles) { - for (int i = 0; i < nspecies + nlaser; ++i) + for (int i = 0; i < nspecies + nlasers; ++i) { allcontainers[i]->AddRealComp("xold"); allcontainers[i]->AddRealComp("yold");