We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7419a52 commit b11e58dCopy full SHA for b11e58d
base/partr.jl
@@ -97,7 +97,7 @@ function multiq_sift_down(heap::taskheap, idx::Int32)
97
child = Int(child)
98
child > length(heap.tasks) && break
99
if isassigned(heap.tasks, child) &&
100
- heap.tasks[child].priority < heap.tasks[idx].priority
+ heap.tasks[child].priority <= heap.tasks[idx].priority
101
t = heap.tasks[idx]
102
heap.tasks[idx] = heap.tasks[child]
103
heap.tasks[child] = t
0 commit comments