Skip to content

Commit

Permalink
Update binary_heap.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar committed Apr 17, 2024
1 parent 9f34916 commit de9913b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heaps/binary_heap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mutable struct BinaryHeap{T, O <: Base.Ordering} <: AbstractHeap{T}
end

function BinaryHeap{T}(ordering::Base.Ordering, xs::AbstractVector) where T
valtree = @inline heapify(xs, ordering)
valtree = heapify(xs, ordering)
new{T, typeof(ordering)}(ordering, valtree)
end
end
Expand Down

0 comments on commit de9913b

Please sign in to comment.