Skip to content

Commit

Permalink
Update arrays_as_heaps.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Apr 17, 2024
1 parent f024b0d commit 9f34916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heaps/arrays_as_heaps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ end
In-place [`heapify`](@ref).
"""
function heapify!(xs::AbstractArray, o::Ordering=Forward)
@inline function heapify!(xs::AbstractArray, o::Ordering=Forward)
for i in heapparent(length(xs)):-1:1
percolate_down!(xs, i, o)
end
Expand Down

0 comments on commit 9f34916

Please sign in to comment.