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

sol.resid not returning the correct thing #140

Closed
vpuri3 opened this issue Jun 8, 2022 · 1 comment · Fixed by #180
Closed

sol.resid not returning the correct thing #140

vpuri3 opened this issue Jun 8, 2022 · 1 comment · Fixed by #180

Comments

@vpuri3
Copy link
Member

vpuri3 commented Jun 8, 2022

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
@ChrisRackauckas
Copy link
Member

Oh, did I put the iter there? JuliaSmoothOptimizers/Krylov.jl#476

vpuri3 added a commit to vpuri3/LinearSolve.jl that referenced this issue Aug 25, 2022
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

Successfully merging a pull request may close this issue.

2 participants