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 9435b23 commit 2a305adCopy full SHA for 2a305ad
base/partr.jl
@@ -50,7 +50,7 @@ function multiq_sift_down(heap::taskheap, idx::Int32)
50
child = Int(child)
51
child > length(heap.tasks) && break
52
if isassigned(heap.tasks, child) &&
53
- heap.tasks[child].priority < heap.tasks[idx].priority
+ heap.tasks[child].priority <= heap.tasks[idx].priority
54
t = heap.tasks[idx]
55
heap.tasks[idx] = heap.tasks[child]
56
heap.tasks[child] = t
0 commit comments