diff --git a/src/particles/PlasmaParticleContainer.cpp b/src/particles/PlasmaParticleContainer.cpp index 67b4f98b32..e6a3731d96 100644 --- a/src/particles/PlasmaParticleContainer.cpp +++ b/src/particles/PlasmaParticleContainer.cpp @@ -4,7 +4,7 @@ namespace { - bool QueryElementSetChargeMass (amrex::ParmParse& pp, amrex::Real charge, amrex::Real mass) + bool QueryElementSetChargeMass (amrex::ParmParse& pp, amrex::Real& charge, amrex::Real& mass) { // normalized_units is directly queried here so we can defined the appropriate PhysConst // locally. We cannot use Hipace::m_phys_const as it has not been initialized when the