aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 cc9991f97..f0320d00f 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -720,8 +720,8 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox)
#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