-
-
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 vectorized real methods in favor of compact broadcast syntax #18513
Conversation
Are you planning to do |
@deprecate real(D::Diagonal) real.(D) | ||
@deprecate real(M::Bidiagonal) real.(M) | ||
@deprecate real(M::Tridiagonal) real.(M) | ||
@deprecate real(M::SymTridiagonal) real.(M) |
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.
aren't these AbstractArray subtypes?
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.
Good catch! Those deprecations are redundant, the result of mechanical rather than thoughtful work. Simplifying. Thanks!
My immediate targets are Perhaps I should open an issue tracking devectorization targets / efforts? Thanks! |
Closing per discussion in #18495 (comment). Best! |
This PR deprecates all (?) remaining vectorized
real
methods (excepting those forSparseVector
s, separate PR) in favor of compact broadcast syntax. Ref. #16285, #17302, #18495, and #18512. Best!As with earlier PRs in this series, to work around #18462 I made the
Broadcast
moduleimport
rather thanexport
broadcast
. Will correct this if / when a better solution for #18462 appears.