diff --git a/easypower.cpp b/easypower.cpp index b8a615b16af2bc97fdd8518c738afee204c493ca..093336fee1df0d54b349317c8445b0206c95a2d9 100644 --- a/easypower.cpp +++ b/easypower.cpp @@ -222,7 +222,7 @@ uint8_t batsim_edc_take_decisions( && ( ( (job->nb_hosts <= nb_available_hosts_at_priority_job_start) // cannot hinder priority job at all regarding hosts && (job->power_estimation <= nb_available_watts_at_priority_job_start) // cannot hinder priority job at all regarding watts - ) // previous block if true if the backfilled job cannot hinder the priority job regardless of the backfilled job duration + ) // previous block is true if the backfilled job cannot hinder the priority job regardless of the backfilled job duration || (job_finish_time <= priority_job_start_time) // the backfilled job finishes before the priority job's expected start time ) ) {