This commit is contained in:
jacekpoz 2024-04-08 22:56:03 +02:00
parent a486679bba
commit 85950a35b0
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -96,7 +96,6 @@ pub fn quick_sort(list: &mut [u64], print: bool) -> SortResult {
if list.len() > 1 { if list.len() > 1 {
println!("before partition: {:?}", res); println!("before partition: {:?}", res);
let pivot = lomuto_partition(list, &mut res); let pivot = lomuto_partition(list, &mut res);
println!("after partition: {:?}", res);
if print { if print {
println!("pivot = {pivot}:"); println!("pivot = {pivot}:");