-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
According to the documentation lsqr! should return the minimum norm solution if the matrix is ambiguous. This doesn't seem to work:
using IterativeSolvers
#-
A = zeros(5,5)
b = ones(5)
x = ones(5)
#-
lsqr!(x, A, b; damp = 1.)
#-
isapprox(x, ones(5)) # true
lsqr is working as expected:
y = lsqr(A, b; damp = 1.)
isapprox(y, zeros(5)) # true
Julia 1.8, IterativeSolvers v0.9.2
Metadata
Metadata
Assignees
Labels
No labels