aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index feed808df..8dfca52ef 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1455,8 +1455,8 @@ PhysicalParticleContainer::AddPlasmaFlux (amrex::Real dt)
#ifdef WARPX_QED
//Pointer to the optical depth component
- amrex::Real* p_optical_depth_QSR = nullptr;
- amrex::Real* p_optical_depth_BW = nullptr;
+ amrex::ParticleReal* p_optical_depth_QSR = nullptr;
+ amrex::ParticleReal* p_optical_depth_BW = nullptr;
// If a QED effect is enabled, the corresponding optical depth
// has to be initialized