mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
Fix bug in queue_task function in local scheduler. (#443)
This commit is contained in:
parent
f4c1adae17
commit
c9d66555e2
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ std::list<TaskQueueEntry>::iterator queue_task(
|
||||||
task_queue->push_back(*task_entry);
|
task_queue->push_back(*task_entry);
|
||||||
/* Since we just queued the task, we can get a reference to it by going to
|
/* Since we just queued the task, we can get a reference to it by going to
|
||||||
* the last element in the queue. */
|
* the last element in the queue. */
|
||||||
auto it = state->algorithm_state->waiting_task_queue->end();
|
auto it = task_queue->end();
|
||||||
--it;
|
--it;
|
||||||
|
|
||||||
/* The task has been added to a local scheduler queue. Write the entry in the
|
/* The task has been added to a local scheduler queue. Write the entry in the
|
||||||
|
|
Loading…
Add table
Reference in a new issue