aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-06-03 16:28:08 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-06-03 16:28:08 +0200
commit9822611b0e0b883bfa81a73c40ac8440f0ee21c2 (patch)
treef07f4a6d745c7e490b1310c5680d7530e302448a /Source/Particles/PhotonParticleContainer.cpp
parent1259a63a21ea6b072481ed285c888bcd6b417e51 (diff)
downloadWarpX-9822611b0e0b883bfa81a73c40ac8440f0ee21c2.tar.gz
WarpX-9822611b0e0b883bfa81a73c40ac8440f0ee21c2.tar.zst
WarpX-9822611b0e0b883bfa81a73c40ac8440f0ee21c2.zip
corrected bug
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 9900bd1ad..2bcf87d6a 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -28,7 +28,7 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
#ifdef WARPX_QED
AddRealComp("tau");
- plot_flags.resize(PIdx::nattribs + 6, 1);
+ plot_flags.resize(PIdx::nattribs + 1, 1);
#endif
}