aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2020-11-02 23:43:50 +0100
committerGravatar GitHub <noreply@github.com> 2020-11-02 23:43:50 +0100
commit5378486783db866dffe8fd77d5bf01b50b5177ed (patch)
treecb0ea1198eda0580e4a127b6ec0d59716be996fb /Source/Particles/PhysicalParticleContainer.cpp
parentba2f8aa8e4a2b411fdf4f68269cc36660b99ee6b (diff)
downloadWarpX-5378486783db866dffe8fd77d5bf01b50b5177ed.tar.gz
WarpX-5378486783db866dffe8fd77d5bf01b50b5177ed.tar.zst
WarpX-5378486783db866dffe8fd77d5bf01b50b5177ed.zip
fixed calls to amrex::Random() to enable HIP compilation (#1487)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 7bddac6ea..51a615234 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -867,7 +867,7 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox)
#ifdef WARPX_QED
if(loc_has_quantum_sync){
- p_optical_depth_QSR[ip] = quantum_sync_get_opt();
+ p_optical_depth_QSR[ip] = quantum_sync_get_opt(engine);
}
if(loc_has_breit_wheeler){