Skip to content

Commit

Permalink
Update smooth_sort.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kanishkgits committed Oct 7, 2024
1 parent 4c469de commit e8dd564
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sorting/smooth_sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ fn heapify_leonardo(nums: &mut [i32], index: usize, sizes: &[usize], mut heaps:
let mut current = index;
while heaps > 1 && heaps <= sizes.len() {
let heap_size = sizes[heaps - 1];
}

while heaps > 1 {
if current < heap_size {
break;
}
Expand Down

0 comments on commit e8dd564

Please sign in to comment.