From 5378486783db866dffe8fd77d5bf01b50b5177ed Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 2 Nov 2020 23:43:50 +0100 Subject: fixed calls to amrex::Random() to enable HIP compilation (#1487) --- Source/Particles/PhysicalParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') 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){ -- cgit v1.2.3