Skip to content

Commit 09605ab

Browse files
committed
Apply suggestions from code review
1 parent 3495d5a commit 09605ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Particle/AMReX_ParticleTile.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ struct ParticleTileData
311311

312312
// SOA Particle Structure
313313
template <int T_NArrayReal, int T_NArrayInt>
314-
struct alignas(8) ConstSoAParticle : SoAParticleBase
314+
struct alignas(sizeof(double)) ConstSoAParticle : SoAParticleBase
315315
{
316316
static constexpr int NArrayReal = T_NArrayReal;
317317
static constexpr int NArrayInt = T_NArrayInt;
@@ -373,7 +373,7 @@ struct alignas(8) ConstSoAParticle : SoAParticleBase
373373
};
374374

375375
template <int T_NArrayReal, int T_NArrayInt>
376-
struct alignas(8) SoAParticle : SoAParticleBase
376+
struct alignas(sizeof(double)) SoAParticle : SoAParticleBase
377377
{
378378
static constexpr int NArrayReal = T_NArrayReal;
379379
static constexpr int NArrayInt = T_NArrayInt;

0 commit comments

Comments
 (0)