LinearSolve.jl icon indicating copy to clipboard operation
LinearSolve.jl copied to clipboard

`sol.resid` not returning the correct thing

Open vpuri3 opened this issue 2 years ago • 1 comments

julia> using LinearSolve, LinearAlgebra; A=rand(4,4); b=rand(4); sol=solve(LinearProblem(A,b),KrylovJL_GMRES()); norm(A*sol.u - b)
2.546262077003306e-15

julia> sol.resid
4

vpuri3 avatar Jun 08 '22 12:06 vpuri3

Oh, did I put the iter there? https://github.com/JuliaSmoothOptimizers/Krylov.jl/issues/476

ChrisRackauckas avatar Jun 08 '22 12:06 ChrisRackauckas