aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 94dd2ef39..90e524196 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -34,9 +34,8 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
ParmParse pp(species_name);
#ifdef WARPX_QED
- //IF m_do_qed is enabled, find out if Breit Wheeler process is enabled
- if(m_do_qed)
- pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler);
+ //Find out if Breit Wheeler process is enabled
+ pp.query("do_qed_breit_wheeler", m_do_qed_breit_wheeler);
//If Breit Wheeler process is enabled, look for the target electron and positron
//species