We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Working on #15354 I realized that
A = rand(10, 10) sA = sub(A, 1:10, 1:10) sA'
works, but
As = sprand(10, 10, 0.3) sAs = sub(As, 1:10, 1:10) sAs'
does not. I would love to fix it, but I am wondering what the preferred way would be. Should I add a method in linalg/abstractsparse.jl, or?
linalg/abstractsparse.jl
Of course A' and As' works, but sA' seems to be redirected to the correct ctranspose, while sAs' does not get dispatched to the sparse method.
A'
As'
sA'
ctranspose
sAs'
Edit: So I just realized that this goes for all matrix operations on subs of sparse matrices. Is this intentional? @andreasnoack
The text was updated successfully, but these errors were encountered:
Related to #14398
Sorry, something went wrong.
Seems both related, and a duplicate, thanks for the ref.
Coincidentally, I inadvertently fixed this in #15367.
No branches or pull requests
Working on #15354 I realized that
works, but
does not. I would love to fix it, but I am wondering what the preferred way would be. Should I add a method in
linalg/abstractsparse.jl
, or?Of course
A'
andAs'
works, butsA'
seems to be redirected to the correctctranspose
, whilesAs'
does not get dispatched to the sparse method.Edit: So I just realized that this goes for all matrix operations on subs of sparse matrices. Is this intentional? @andreasnoack
The text was updated successfully, but these errors were encountered: