Skip to content

Commit

Permalink
Revert "partr: fix multiqueue resorting stability" (#35589)
Browse files Browse the repository at this point in the history
This reverts commit c23554a.
  • Loading branch information
JeffBezanson authored Apr 27, 2020
1 parent 0cedde6 commit 47087cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partr.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static inline void sift_down(taskheap_t *heap, int32_t idx)
child < tasks_per_heap && child <= heap_d*idx + heap_d;
++child) {
if (heap->tasks[child]
&& heap->tasks[child]->prio <= heap->tasks[idx]->prio) {
&& heap->tasks[child]->prio < heap->tasks[idx]->prio) {
jl_task_t *t = heap->tasks[idx];
heap->tasks[idx] = heap->tasks[child];
heap->tasks[child] = t;
Expand Down

0 comments on commit 47087cb

Please sign in to comment.