aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers@lbl.gov> 2020-09-01 14:31:26 -0700
committerGravatar GitHub <noreply@github.com> 2020-09-01 14:31:26 -0700
commita18713978d294e72170beb884f53a3c3ce9bab8c (patch)
tree2a4748d2dca5468bc1e9099003ff06d35c5b2ae7 /Source/Particles/WarpXParticleContainer.cpp
parent3c2eadfde21745eae87c7d13ebaacb1732a8619d (diff)
downloadWarpX-a18713978d294e72170beb884f53a3c3ce9bab8c.tar.gz
WarpX-a18713978d294e72170beb884f53a3c3ce9bab8c.tar.zst
WarpX-a18713978d294e72170beb884f53a3c3ce9bab8c.zip
In AddNParticles, id should be changed to Long (#1280)
Resolves #1279.
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r--Source/Particles/WarpXParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp
index ecdd3eb27..5ca18bebe 100644
--- a/Source/Particles/WarpXParticleContainer.cpp
+++ b/Source/Particles/WarpXParticleContainer.cpp
@@ -99,7 +99,7 @@ void
WarpXParticleContainer::AddNParticles (int /*lev*/,
int n, const ParticleReal* x, const ParticleReal* y, const ParticleReal* z,
const ParticleReal* vx, const ParticleReal* vy, const ParticleReal* vz,
- int nattr, const ParticleReal* attr, int uniqueparticles, int id)
+ int nattr, const ParticleReal* attr, int uniqueparticles, amrex::Long id)
{
BL_ASSERT(nattr == 1); //! @fixme nattr is unused below: false sense of safety
const ParticleReal* weight = attr;