diff options
| author | Andrea Piseri <andrea.piseri@gmail.com> | 2022-04-13 10:55:16 +0200 |
|---|---|---|
| committer | Andrea Piseri <andrea.piseri@gmail.com> | 2022-04-13 10:55:16 +0200 |
| commit | a040be957ff3db94a1f35f73d4fc1b207ec1c526 (patch) | |
| tree | 5711894bd294a466dcc695fe98beca9d6592493e /src/exact_value.cpp | |
| parent | f6fa553572ca0374ad7e664892ae458d54cb30e6 (diff) | |
Fix tail recursion in `_quick_sort_general`
The `if` statement should have been a `for` loop, in order to allow recursively
sorting the subarrays with quicksort, and not resort to shell sort after
one step.
Diffstat (limited to 'src/exact_value.cpp')
0 files changed, 0 insertions, 0 deletions