diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-18 16:38:25 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-18 16:38:25 +0200 |
| commit | b9043f0f204b6bd4526a283ad2217736fb96d8a1 (patch) | |
| tree | fb2e0a96118327627319d915d8367b8d5a017aae /algorithms/impl/median.py | |
| parent | plot_all.sh: try to get rid of matplotlib fix (diff) | |
| download | sorting-algorithms-b9043f0f204b6bd4526a283ad2217736fb96d8a1.tar.gz sorting-algorithms-b9043f0f204b6bd4526a283ad2217736fb96d8a1.zip | |
workflows/ci: add Black formatting job
Diffstat (limited to 'algorithms/impl/median.py')
| -rw-r--r-- | algorithms/impl/median.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/algorithms/impl/median.py b/algorithms/impl/median.py index a754cdb..7b75219 100644 --- a/algorithms/impl/median.py +++ b/algorithms/impl/median.py @@ -46,7 +46,9 @@ def calc_median_sorting(xs): _ALGORITHMS = [ - Algorithm('median_sorting', 'Median value (using explicit sorting)', calc_median_sorting), + Algorithm( + 'median_sorting', 'Median value (using explicit sorting)', calc_median_sorting + ), Algorithm('median_heaps', 'Median value (using heaps)', calc_median_heaps), ] |
