SD_task_schedulel(task, 1, hosts[0]);
} else {
XBT_INFO("Scheduling %s to node: %s", SD_task_get_name(task), sg_host_get_name(hosts[(cursor) % totalHosts]));
- SD_task_schedulel(task, 1, hosts[(cursor) % totalHosts]);
+ SD_task_schedulel(task, 1, hosts[cursor % totalHosts]);
}
}
}