浏览代码

fixing compilation issue

Amina Guermouche 5 年之前
父节点
当前提交
3d1d25c17c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/sched_policies/helper_mct.c

+ 2 - 2
src/sched_policies/helper_mct.c

@@ -153,9 +153,9 @@ void starpu_mct_compute_expected_times(struct starpu_sched_component *component,
 		   min_exp_end_of_task: minimum estimated execution time of the task over all workers
 		   max_exp_end_of_workers: maximum estimated end of the already-scheduled tasks over all workers
 		*/
-		if(estimated_ends_with_task[icomponent] < *min_exp_end_with_task)
+		if(estimated_ends_with_task[icomponent] < *min_exp_end_of_task)
 			*min_exp_end_of_task = estimated_ends_with_task[icomponent];
-		if(estimated_end > *max_exp_end_with_task)
+		if(estimated_end > *max_exp_end_of_workers)
 			*max_exp_end_of_workers = estimated_end;
 	}
 }