Skip to content

Commit ae329ec

Browse files
committed
Explicit align
1 parent ba86c68 commit ae329ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Src/Particle/AMReX_Particle.H

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ struct SoAParticleBase
290290
* \tparam T_NInt The number of extra integer components
291291
*/
292292
template <int T_NReal, int T_NInt=0>
293-
struct alignas(sizeof(ParticleReal))
294-
alignas(ParticleBase<ParticleReal,T_NReal,T_NInt>)
293+
struct alignas(sizeof(double))
295294
Particle : ParticleBase<ParticleReal,T_NReal,T_NInt>
296295
{
297296
static constexpr bool is_soa_particle = false;

0 commit comments

Comments
 (0)