-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Deprecate broadcast_zpreserving[!] #19720
Conversation
@@ -2281,6 +2170,10 @@ floor{To}(::Type{To}, A::SparseMatrixCSC) = floor.(To, A) | |||
trunc{To}(::Type{To}, A::SparseMatrixCSC) = trunc.(To, A) | |||
round{To}(::Type{To}, A::SparseMatrixCSC) = round.(To, A) | |||
|
|||
# broadcast_zpreserving[!] deprecated in 0.6. Wasn't exported prior, so need these | |||
# definitions for the deprecation to serve its purpose. Remove after 0.6. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could also eval the deprecation into this module from deprecated.jl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much cleaner. Done. Thanks!
Generic sparse broadcast[!] now provides most of Base.SparseArrays.broadcast_zpreserving[!]'s functionality.
My inclination is just to do a straight |
Being gentle with the deprecation costs us nothing at this point, the work already being done, so might as well keep the softer deprecation? Thanks! |
Sure |
Absent objections or requests for time, I plan to merge this PR Thursday morning PDT. Best! |
Thanks for reviewing / resolving conflicts and merging! |
This pull request deprecates
Base.SparseArrays.broadcast_zpreserving[!]
, please see #19533 for more. Best!