-
-
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
Access only stored inds in copy
for strided AbstractTriangular
#52907
Conversation
From the test failures, it looks like this would need #52528 |
Gentle bump |
Seems like there's an issue with transposed triangular matrices? |
9946353
to
4bc03e4
Compare
Could you provide an example? The following appears to work: julia> A = Matrix{Complex{BigFloat}}(undef,2,2);
julia> A[1,1] = A[2,2] = A[1,2] = 4;
julia> L = LowerTriangular(transpose(A))
2×2 LowerTriangular{Complex{BigFloat}, Transpose{Complex{BigFloat}, Matrix{Complex{BigFloat}}}}:
4.0+0.0im ⋅
4.0+0.0im 4.0+0.0im
julia> copy(L)
2×2 LowerTriangular{Complex{BigFloat}, Matrix{Complex{BigFloat}}}:
4.0+0.0im ⋅
4.0+0.0im 4.0+0.0im There are indeed cases where the fallback |
I mean, the tests were failing in |
Oh, I had missed that somehow. The specific test that's failing should be fixed by #53101 |
AbstractTriangular
copy
for strided AbstractTriangular
a32190e
to
1731cb5
Compare
This PR fixes the following:
on master
This PR:
This also improves performance in
isbits
cases: