Browse Source

silent warning

Samuel Thibault 14 years ago
parent
commit
6b70d00b21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sched_policies/detect_combined_workers.c

+ 1 - 1
src/sched_policies/detect_combined_workers.c

@@ -475,7 +475,7 @@ void _starpu_sched_find_worker_combinations(struct starpu_machine_topology_s *to
 {
     struct starpu_machine_config_s *config = _starpu_get_machine_config();
 
-    if (config->user_conf && config->user_conf->single_combined_worker > 0 || starpu_get_env_number("STARPU_SINGLE_COMBINED_WORKER") > 0)
+    if ((config->user_conf && config->user_conf->single_combined_worker > 0) || starpu_get_env_number("STARPU_SINGLE_COMBINED_WORKER") > 0)
 	combine_all_cpu_workers(topology);
     else {
 #ifdef STARPU_HAVE_HWLOC