Skip to content

Commit

Permalink
Agai
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry992 committed Sep 22, 2022
1 parent d1a60d7 commit 4193c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ablastr/particles/ParticleMoments.H
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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];
Expand Down

0 comments on commit 4193c6b

Please sign in to comment.