diff options
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index ca4dcc81b..5bd7eb372 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -89,7 +89,7 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, ); #ifdef WARPX_QED - DoBreitWheelerPti(pti, dt); + if(has_breit_wheeler()) DoBreitWheelerPti(pti, dt); #endif } |