From ee28b420fd87beb61c942d3ff38dbb4778cca71d Mon Sep 17 00:00:00 2001
From: Aidan Chalk <aidan.chalk@stfc.ac.uk>
Date: Thu, 22 Nov 2018 17:25:05 +0000
Subject: [PATCH] Fixed compilation error

---
 src/space.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/space.c b/src/space.c
index 0e789e79e8..40e907a752 100644
--- a/src/space.c
+++ b/src/space.c
@@ -1175,7 +1175,7 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) {
       nodes[i] = numanode;
 //      swiftnuma_cell_move_hydro_parts(&cells_top[i],numanode,1);
     }
-    threadpool_map(s->e->threadpool, &swiftnuma_cell_move_hydro_parts_threadpool_map, s->cells_top, s->nr_cells,
+    threadpool_map(&s->e->threadpool, &swiftnuma_cell_move_hydro_parts_threadpool_map, s->cells_top, s->nr_cells,
                       sizeof(struct cell), 0, nodes);
     free(nodes);
 #endif
-- 
GitLab