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 6e0772a commit 023f996Copy full SHA for 023f996
base/partr.jl
@@ -65,7 +65,7 @@ function sift_down(heap::taskheap, idx::Int32)
65
if idx <= heap.ntasks
66
for child = (heap_d * idx - heap_d + Int32(2)):(heap_d * idx + Int32(1))
67
child > tasks_per_heap && break
68
- if isassigned(heap.tasks, child) &&
+ if isassigned(heap.tasks, Int(child)) &&
69
heap.tasks[child].priority < heap.tasks[idx].priority
70
t = heap.tasks[idx]
71
heap.tasks[idx] = heap.tasks[child]
0 commit comments