-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
deprecate fill!(A::[Diagonal|AbstractTriangular], x) = fillslots!(A, x) methods #24413
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
Conversation
11e0938 to
3318f43
Compare
|
|
3318f43 to
c924edc
Compare
Should be fixed. Thanks! :) Thoughts re. structured |
c924edc to
7fb768e
Compare
|
Looks like this testset Line 309 in ce1dc9c
I agree that these methods are a bit weird. Although, it is convenient to zero out an array with |
|
The
Agreed, the convenience of
Coincidentally I have work in progress extending |
7fb768e to
665aeab
Compare
Perhaps time to reconsider #19912? |
I tend to agree that reducing rather than expanding such redundancy is preferable :). |
|
Absent objections or requests for time, I plan to merge these changes tomorrow. Best! |
|
Thanks all! :) |
The History.md file linked to JuliaLang#24413 for `eye` deprecation in 0.7. This commit changes it to link to JuliaLang#24415.
This pull request deprecates two methods,
fill!(A::S, x) = fillslots!(A, x)forSin(Diagonal, AbstractTriangular). As the comment attached to the associated definitions states, these methods are an artifact of history.Should we consider deprecating
fill!(A, x)for structuredAas well? Unlessxis zero orAis small enough that all entries are mutable (i.e.Ais one-by-one or two-by-two depending on the special matrix type),fill!(A, x)errors.Best!