Skip to content
Snippets Groups Projects
Commit f9b2513c authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

testing wrong policy variable.

Former-commit-id: 37b6d782c28727a1586a72986c593c4b8f19eb69
parent a020a9d0
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment