From b68d8ffcd97c043cf4ad9760ea552d1f75a6b127 Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Tue, 1 Aug 2017 15:32:42 +0100
Subject: [PATCH] Call engine_pin() to make sure that memory is allocated in
 the correct place.

---
 tests/test125cells.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test125cells.c b/tests/test125cells.c
index 29e661b28c..863999dc84 100644
--- a/tests/test125cells.c
+++ b/tests/test125cells.c
@@ -440,6 +440,7 @@ void runner_doself2_force(struct runner *r, struct cell *ci);
 /* And go... */
 int main(int argc, char *argv[]) {
 
+  engine_pin();
   size_t runs = 0, particles = 0;
   double h = 1.23485, size = 1., rho = 2.5;
   double perturbation = 0.;
-- 
GitLab