Skip to content

Commit

Permalink
must pass charge and mass by reference (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxThevenet authored Mar 24, 2021
1 parent 6ea40ef commit 2aa3424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/particles/PlasmaParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2aa3424

Please sign in to comment.