This commit is contained in:
jacekpoz 2024-04-10 13:27:49 +02:00
parent 22306fdfc7
commit 53e0aaa31d
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -215,7 +215,7 @@ fn main() -> io::Result<()> {
dual_pivot_results_large.insert(n, vec![]); dual_pivot_results_large.insert(n, vec![]);
for _ in 0..k { for _ in 0..k {
quick_results_large.get_mut(&n).unwrap().push(quick_sort(&mut gen_rand(n), false)); quick_results_large.get_mut(&n).unwrap().push(quick_sort(&mut gen_rand(n), false));
dual_pivot_results_large.get_mut(&n).unwrap().push(quick_sort(&mut gen_rand(n), false)); dual_pivot_results_large.get_mut(&n).unwrap().push(dual_pivot_quick_sort(&mut gen_rand(n), false));
} }
} }