From d6d517d27f3b8665789d97d461fe55e3791d3d4c Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Thu, 1 Feb 2018 22:38:13 +0100 Subject: [PATCH] Revert "use floats instead of double for cell splitting, makes space_rebuild ~10% faster." This reverts commit 35896dadff634539c0fd2c83113a9133a2c943b5. --- src/cell.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cell.h b/src/cell.h index da6c18d5e8..91663d45bf 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 { -- GitLab