Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore find_root #604

Merged
merged 3 commits into from
Apr 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!