We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09605ab commit 8a05f84Copy full SHA for 8a05f84
Src/Particle/AMReX_Particle.H
@@ -290,9 +290,8 @@ struct SoAParticleBase
290
* \tparam T_NInt The number of extra integer components
291
*/
292
template <int T_NReal, int T_NInt=0>
293
-struct alignas(sizeof(ParticleReal))
294
- alignas(ParticleBase<ParticleReal,T_NReal,T_NInt>)
295
-Particle : ParticleBase<ParticleReal,T_NReal,T_NInt>
+struct alignas(sizeof(double)) Particle
+ : ParticleBase<ParticleReal,T_NReal,T_NInt>
296
{
297
static constexpr bool is_soa_particle = false;
298
using StorageParticleType = Particle;
0 commit comments