From 4ed74435a5cb4a5ae32d9877d8c70d28f48d0a06 Mon Sep 17 00:00:00 2001 From: Aidan Chalk <aidan.chalk@stfc.ac.uk> Date: Thu, 22 Nov 2018 17:23:53 +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 24d878b313..0e789e79e8 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->tp, &swiftnuma_cell_move_hydro_parts_threadpool_map, s->c, 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