From 4193c6b3221aadfbe65b373655b2e494140f2cd4 Mon Sep 17 00:00:00 2001 From: Thierry Antoun Date: Wed, 21 Sep 2022 11:38:31 -0700 Subject: [PATCH] Agai --- Source/ablastr/particles/ParticleMoments.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ablastr/particles/ParticleMoments.H b/Source/ablastr/particles/ParticleMoments.H index cadf9f2caf5..829bfdcd616 100644 --- a/Source/ablastr/particles/ParticleMoments.H +++ b/Source/ablastr/particles/ParticleMoments.H @@ -93,7 +93,7 @@ namespace particles { MeanAndStdPositions (T_PC const & pc) { using ParticleType = typename T_PC::ParticleType; - using ConstParticleTileDataType = typename T_PC::ParticleTileType::ConstParticleTileDataType; + using ParticleTileDataType = typename T_PC::ParticleTileType::ParticleTileDataType; amrex::ReduceOps< amrex::ReduceOpSum, amrex::ReduceOpSum, amrex::ReduceOpSum, @@ -106,7 +106,7 @@ namespace particles { amrex::ParticleReal> >( pc, - [=] AMREX_GPU_DEVICE(const ConstParticleTileDataType& ptd, const int i) noexcept + [=] AMREX_GPU_DEVICE(const ParticleTileDataType& ptd, const int i) noexcept { const amrex::ParticleReal x = ptd.rdata(0)[i];