diff --git a/src/engine.c b/src/engine.c index 89da2b6f095a05a3bd8387e297d758af76794d3f..71ce1f316ffbdbd4afb01a6126b5bbf722e4f433 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; }