Przeglądaj źródła

Drop duplicate fix

Samuel Thibault 7 lat temu
rodzic
commit
2154deab1a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/sched_policies/component_heft.c

+ 1 - 1
src/sched_policies/component_heft.c

@@ -111,7 +111,7 @@ static int heft_progress_one(struct starpu_sched_component *component)
 		}
 
 		int best_task = 0;
-		double max_benefit =  max_exp_end_with_task[0] - min_exp_end_with_task[0];
+		double max_benefit = 0;
 
 		/* Find the task which provides the most computation time benefit */
 		for (n = 1; n < ntasks; n++)