XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
- xbt_assert(progress == 0, "Progress should be equal to 1 not %f", progress);
+ xbt_assert(progress == 0.0, "Progress should be equal to 0.0 not %f", progress);
MSG_task_destroy(task);
XBT_INFO("Goodbye now!");
XBT_INFO("get the progress of %s after the task finishes", task->name);
progress = MSG_task_get_remaining_work_ratio(task);
- xbt_assert(progress == 0, "Progress should be equal to 1 not %f", progress);
+ xbt_assert(progress == 0.0, "Progress should be equal to 0.0 not %f", progress);
MSG_task_destroy(task);
delete[] computation_amount;