fix offset by one issue in the local scheduler (#2652)

This commit is contained in:
tianyapiaozi
2018-08-15 10:10:30 -07:00
committed by Stephanie Wang
parent 3c75e71afc
commit 98fed67b45
@@ -432,7 +432,7 @@ void insert_actor_task_queue(LocalSchedulerState *state,
if (entry.frontier_dependencies.count(task_handle_id) == 0) {
RAY_CHECK(task_entry.ExecutionDependencies().size() == 1);
entry.frontier_dependencies[task_handle_id] =
task_entry.ExecutionDependencies()[1];
task_entry.ExecutionDependencies()[0];
}
/* As a sanity check, the counter of the new task should be greater than the