diff --git a/examples/nbody/nbody.cpp b/examples/nbody/nbody.cpp index 455aeb5c7c..9f09632496 100644 --- a/examples/nbody/nbody.cpp +++ b/examples/nbody/nbody.cpp @@ -1018,7 +1018,7 @@ namespace manualAoSoAManualAVX namespace manualAoSoASIMD { template - struct alignas(64) ParticleBlock + struct alignas(sizeof(Simd)) ParticleBlock { struct { @@ -1029,7 +1029,6 @@ namespace manualAoSoASIMD Simd mass; }; - template inline void pPInteraction( Simd piposx,