mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Fix bug in queue_task function in local scheduler. (#443)
This commit is contained in:
committed by
Stephanie Wang
parent
f4c1adae17
commit
c9d66555e2
@@ -672,7 +672,7 @@ std::list<TaskQueueEntry>::iterator queue_task(
|
||||
task_queue->push_back(*task_entry);
|
||||
/* Since we just queued the task, we can get a reference to it by going to
|
||||
* the last element in the queue. */
|
||||
auto it = state->algorithm_state->waiting_task_queue->end();
|
||||
auto it = task_queue->end();
|
||||
--it;
|
||||
|
||||
/* The task has been added to a local scheduler queue. Write the entry in the
|
||||
|
||||
Reference in New Issue
Block a user