diff --git a/src/cell.h b/src/cell.h index da6c18d5e8eb4c204ee868d0928e27c37a140007..91663d45bf048fff6e4bbf02d404ec62d216365b 100644 --- a/src/cell.h +++ b/src/cell.h @@ -56,9 +56,9 @@ extern int cell_next_tag; /* Struct to temporarily buffer the particle locations and bin id. */ struct cell_buff { - float x[3]; + double x[3]; int ind; -} __attribute__((aligned(16))); +} SWIFT_STRUCT_ALIGN; /* Mini struct to link cells to tasks. Used as a linked list. */ struct link {