Skip to content

Commit

Permalink
Improve backwards compatibility in sorting (#47489)
Browse files Browse the repository at this point in the history
* Improve backwards compatibility in sorting


Co-authored-by: Lilith Hafner <[email protected]>
  • Loading branch information
LilithHafner and Lilith Hafner authored Nov 8, 2022
1 parent cf9cac2 commit f7d4edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/sort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ Characteristics:
(vanishingly rare for non-malicious input)
"""
const QuickSort = PartialQuickSort(missing, missing)
const QuickSortAlg = PartialQuickSort{Missing, Missing} # Exists for backward compatibility

"""
MergeSort
Expand Down

0 comments on commit f7d4edc

Please sign in to comment.