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

Diagonal \ SparseMatrixCSC throws StackOverflow #15933

Closed
lruthotto opened this issue Apr 19, 2016 · 3 comments
Closed

Diagonal \ SparseMatrixCSC throws StackOverflow #15933

lruthotto opened this issue Apr 19, 2016 · 3 comments
Labels
sparse Sparse arrays

Comments

@lruthotto
Copy link

Trying the following

D = Diagonal(rand(5))
A = sprandn(5,5,.1)
D\A

Gives me a StackOverflow error. Looking at linalg/generic.jl at line 323 it seemed like the problem is that factorize(D) returns a Diagonal and then goes on forever. However,

D\full(A)

works fine for me. I'm using 0.4.6-pre+23 by the way.

@lruthotto
Copy link
Author

just checked and the problem still persists with version 0.4.6-pre+30

@yuyichao
Copy link
Contributor

yuyichao commented Apr 19, 2016

Dup of JuliaLang/LinearAlgebra.jl#283
@andreasnoack maybe we can have a backportable version of the PR's that fix it?

@tkelman
Copy link
Contributor

tkelman commented Sep 13, 2016

apparently not

@ViralBShah ViralBShah added the sparse Sparse arrays label Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sparse Sparse arrays
Projects
None yet
Development

No branches or pull requests

4 participants