-
-
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
in 1.10+, matrix decomposition components aren't always AbstractMatrix #56106
Comments
https://docs.julialang.org/en/v1.9/stdlib/LinearAlgebra/#LinearAlgebra.qr
|
Could you elaborate a bit? Of course, I need |
The documentation of Julia v1.9 is saying that you if you want to convert
It's related because that was the documented way to go already in Julia v1.9. |
Note that |
You may be a victim of Hyrum's Law, where you relied on pre-existing unintended and undocumented behaviour. |
What exactly is not documented? That "returns a matrix" means "AbstractMatrix"?
Naturally, This is a documented and expected behavior, the linked PR even broke several existing packages. Note that code relying on If that's not a breaking change, very few things are :)
|
@aplavin What were the actual methods you needed and found to be missing? Were they in LinearAlgebra or in your package? I think the best path forward here is to define those as This was identified as a breaking change right from the get-go and its pros were very deliberately weighed against the estimated costs of the breakage. It's totally fair that you might weigh those pros and cons differently. |
Tried upgrading Julia version from 1.9 in one of my envs, and noticed this:
qr(A).Q
not being an AbstractMatrix is very surprising even in isolation, but especially so given the previous behavior in Julia.How come it's allowed in Julia 1.x? Seems like the clear and unambiguous definition of breaking change...
From Julia docs:
Introduced in #46196 – deliberately, it wasn't just an oversight.
The text was updated successfully, but these errors were encountered: