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

Linear solve A \ v where A and v are sparse fails #32668

Closed
thudso opened this issue Jul 24, 2019 · 1 comment
Closed

Linear solve A \ v where A and v are sparse fails #32668

thudso opened this issue Jul 24, 2019 · 1 comment

Comments

@thudso
Copy link

thudso commented Jul 24, 2019

Linear solves of sparse systems defined using SparseArrays (where both matrix and vector are sparse) currently fail.

Minimal example:
using SparseArrays; A = sprand(2,2,0.9); v = sparsevec([1;2],randn(2)); A \ v

This produces:
ERROR: MethodError: no method matching ldiv!(::SuiteSparse.UMFPACK.UmfpackLU{Float64,Int64}, ::SparseVector{Float64,Int64})

@andreasnoack
Copy link
Member

Dup of JuliaLang/LinearAlgebra.jl#381

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

No branches or pull requests

2 participants