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

make similar(A<:AbstractTriangular, opts...) consistently preserve A's underlying storage type #24162

Merged
merged 1 commit into from
Oct 19, 2017

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Oct 16, 2017

This pull request makes similar(A<:AbstractTriangular, opts...) consistently preserve A's underlying storage type. For example, this pull request makes similar(UpperTriangular(sprand(4, 4, 0.5)), Float32, (3, 3)) yield a SparseMatrixCSC{Float32} rather than the present Matrix{Float32}. Ref. #13731 (comment). Best!

@Sacha0 Sacha0 added the domain:linear algebra Linear algebra label Oct 16, 2017
@Sacha0 Sacha0 added this to the 1.0 milestone Oct 16, 2017
@Sacha0
Copy link
Member Author

Sacha0 commented Oct 17, 2017

Thanks @fredrikekre! Absent objections or requests for time, I plan to merge these changes this evening or tomorrow morning. Best!

@Sacha0 Sacha0 merged commit d77cff0 into JuliaLang:master Oct 19, 2017
@Sacha0 Sacha0 deleted the similartri branch October 19, 2017 01:33
@Sacha0
Copy link
Member Author

Sacha0 commented Oct 19, 2017

Thanks all!

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

Successfully merging this pull request may close these issues.

2 participants