aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-21 18:55:08 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-21 18:55:08 +0200
commit5ceaa8679e6e8dd8fde91b07719d883662206a98 (patch)
tree4e30a18b1dcaf5bb2a0c9e0f3ae5f9b06017d92e /Source/Particles/PhotonParticleContainer.cpp
parent668b9e4c1746b052b400637de5e01ece530239d8 (diff)
downloadWarpX-5ceaa8679e6e8dd8fde91b07719d883662206a98.tar.gz
WarpX-5ceaa8679e6e8dd8fde91b07719d883662206a98.tar.zst
WarpX-5ceaa8679e6e8dd8fde91b07719d883662206a98.zip
correct 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 3c70a957f..3e678fb26 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -31,7 +31,7 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
pp.query("do_qed_breit_wheeler", do_qed_breit_wheeler);
//Check for processes which do not make sense for photons
- bool test_quantum_sync;
+ bool test_quantum_sync = false;
pp.query("do_qed_quantum_sync", test_quantum_sync);
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(
test_quantum_sync == 0,