Skip to content

Commit

Permalink
no compact and unchecked math
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 20, 2024
1 parent a6d9a0f commit 88f1405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unified-scheduler-logic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ impl SchedulingStateMachine {
pub fn has_buffered_task(&mut self) -> bool {
while let Some(task) = self.buffered_task_queue.peek_mut() {
use std::collections::binary_heap::PeekMut;
let status = task.task_status(&mut self.count_token);
let status = task.status(&mut self.count_token);
if task.has_blocked_usage(&mut self.count_token) {
PeekMut::pop(task);
continue;
Expand Down

0 comments on commit 88f1405

Please sign in to comment.