From f9b2513c72914490cce802bf2d73ecdafc38543b Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <pedro.gonnet@durham.ac.uk> Date: Tue, 25 Jun 2013 12:11:56 +0000 Subject: [PATCH] testing wrong policy variable. Former-commit-id: 37b6d782c28727a1586a72986c593c4b8f19eb69 --- src/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine.c b/src/engine.c index 89da2b6f09..71ce1f316f 100644 --- a/src/engine.c +++ b/src/engine.c @@ -734,7 +734,7 @@ void engine_init ( struct engine *e , struct space *s , float dt , int nr_thread int nr_cores = sysconf( _SC_NPROCESSORS_ONLN ); int i, j, cpuid[ nr_cores ]; cpu_set_t cpuset; - if ( e->policy & engine_policy_cputight ) { + if ( policy & engine_policy_cputight ) { for ( k = 0 ; k < nr_cores ; k++ ) cpuid[k] = k; } -- GitLab