Skip to content

Commit

Permalink
Replace copymutable
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Dec 31, 2016
1 parent 2c4b21b commit 4db0ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DataStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module DataStructures
in, haskey, keys, merge, copy, cat,
push!, pop!, shift!, unshift!, insert!,
union!, delete!, similar, sizehint!,
isequal, hash, copymutable,
isequal, hash,
map, reverse,
first, last, eltype, getkey, values, sum,
merge, merge!, lt, Ordering, ForwardOrdering, Forward,
Expand Down
2 changes: 1 addition & 1 deletion src/heaps/arrays_as_heaps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ julia> heapify(a, Base.Order.Reverse)
2
```
"""
heapify(xs::AbstractArray, o::Ordering=Forward) = heapify!(copymutable(xs), o)
heapify(xs::AbstractArray, o::Ordering=Forward) = heapify!(copy!(similar(xs), xs), o)

"""
isheap(v, ord::Ordering=Forward)
Expand Down

0 comments on commit 4db0ec5

Please sign in to comment.