Skip to content
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

Tridiagonal * Diagonal should return Tridiagonal #31870

Closed
matthieugomez opened this issue Apr 29, 2019 · 1 comment · Fixed by #31889
Closed

Tridiagonal * Diagonal should return Tridiagonal #31870

matthieugomez opened this issue Apr 29, 2019 · 1 comment · Fixed by #31889

Comments

@matthieugomez
Copy link
Contributor

matthieugomez commented Apr 29, 2019

Currently it returns a SparseMatrix

typeof(Tridiagonal(zeros(2), zeros(3), zeros(3)) * Diagonal(zeros(3)))
# 3×3 SparseArrays.SparseMatrixCSC{Float64,Int64} with 0 stored entries
@mcognetta
Copy link
Contributor

Huh, I must have missed this in #28883. I'll fix it unless someone else wants to try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants