Skip to content

Commit

Permalink
Merge pull request #604 from ccoffrin/master
Browse files Browse the repository at this point in the history
Restore find_root
  • Loading branch information
oxinabox committed Apr 12, 2020
2 parents 8026be0 + 6058f92 commit 2e40f9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/DataStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ module DataStructures

export findkey

include("deprecations.jl")
include("delegate.jl")

include("deque.jl")
Expand Down Expand Up @@ -107,4 +106,6 @@ module DataStructures
include("priorityqueue.jl")
include("sparse_int_set.jl")
export SparseIntSet

include("deprecations.jl")
end
4 changes: 3 additions & 1 deletion src/deprecations.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@deprecate front(x) first(x)
@deprecate back(x) last(x)
@deprecate top(x) first(x)
@deprecate find_root find_root! # 2020-03-31
#@deprecate find_root find_root! # 2020-03-31 - deprecate in v0.18, or when Julia 1.5 is released.
export find_root
const find_root = find_root!

0 comments on commit 2e40f9a

Please sign in to comment.