-
-
Notifications
You must be signed in to change notification settings - Fork 21
Cannot collect
Q factor of QR factorization
#1006
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
Comments
Could it be related to the changes in JuliaLang/julia#46196? |
Yes it is. And it is on purpose, because |
Can't it be specialized, also to not do a separate ping, it seems this also broke the printing. #1007 |
The docstring says: collect(collection)
Return an Array of all items in a collection or iterator. .... The issue was/is: |
Can this be closed? |
What is the policy on breaking changes? My understanding is that a change that breaks existing code (even if that code is bad) cannot happen before Julia 2.0. |
Ok, turns out that _
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.7 (2022-07-19)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using BenchmarkTools
julia> using LinearAlgebra
julia> F = qr(randn(3,3));
julia> @btime collect($(F.Q));
5.028 μs (28 allocations: 3.11 KiB)
julia> @btime Matrix($(F.Q));
597.628 ns (3 allocations: 480 bytes) |
Triage has some thoughts:
|
Regarding the 5 failures, 3 of them have been fixed but haven't released the fix yet, or hadn't released it by the time of the nanosoldier run. I couldn't make sense of the Pajarito.jl and the DataAssimilationBenchmarks.jl fails, but I'm happy to contribute to whatever it takes (though in more recent pkgeval runs they didn't show up as failing). So the registered package ecosystem (at least the part that is covered by nanosoldier) was essentially completely fixed by the time of the merge. The |
On current master, I get
This worked in 1.8.
The text was updated successfully, but these errors were encountered: