diff --git a/Src/Particle/AMReX_ParticleIO.H b/Src/Particle/AMReX_ParticleIO.H index d6f8d47ccc9..4417385d39f 100644 --- a/Src/Particle/AMReX_ParticleIO.H +++ b/Src/Particle/AMReX_ParticleIO.H @@ -169,7 +169,7 @@ ParticleContainer_impl WriteBinaryParticleData(dir, name, write_real_comp, write_int_comp, real_comp_names, int_comp_names, - [=] AMREX_GPU_HOST_DEVICE (const ParticleType& p) + [=] AMREX_GPU_HOST_DEVICE (const SuperParticleType& p) { return p.id() > 0; });