-
-
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
Fix full(X) where X is a factorization #18938
Conversation
hope this is all of them? yes, checking return types more strictly would be a good idea. thanks! |
Hope so :). (grep'd.)
Is that to say that adding appropriate return type checks to #18850 as it evolves, rather than here, strikes you as a reasonable plan? Or would you prefer to add tests to |
The errors indicate that I relaxed too many |
Some of the errors are because the |
… some factorizations F, restoring full's former semantics for factorizations.
Corrected version pushed. Passing linalg and sparse tests locally now.
Yes, I shouldn't write PRs when half asleep :). Best! |
@andreasnoack, please see my response in #18850 (#18850 (comment)). Best! |
Apart from the few factorizations with specializations for structured matrix types ( |
Bumping. |
It looks like you're working towards deprecating full pretty soon. This will be a more correct deprecation. How to best test it is an open question, but may as well not hold up this fix. |
Hopefully, but further work is blocked on this decision, so completion timescale is indeterminate. Best! |
… some factorizations F, restoring full's former semantics for factorizations. (JuliaLang#18938)
In #18850 (comment),
@tkelman
noticed thatfull(X)
whereX
is a factorization has been incorrectly callingconvert(Array, X)
rather thanconvert(AbstractArray, X)
since #17066. This PR fixes that bug, restoringfull
's former semantics. (Not certain whether tests for this behavior would be useful given the plan to deprecatefull
. Perhaps making the tests in #18850 more strict [check some return types] would be the equivalent in spirit?) Best!