Skip to content

Commit

Permalink
Update bilq.jl and qmr.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed May 20, 2024
1 parent b7c6774 commit 513429b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bilq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ kwargs_bilq = (:c, :transfer_to_bicg, :M, :N, :ldiv, :atol, :rtol, :itmax, :time
@kaxpby!(n, one(FC), b, -one(FC), r₀)
end
if !MisI
mulorldiv!(p, M, r₀, ldiv)
r₀ = p
mulorldiv!(solver.t, M, r₀, ldiv)
r₀ = solver.t
end

# Initial solution x₀ and residual norm ‖r₀‖.
Expand Down
4 changes: 2 additions & 2 deletions src/qmr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ kwargs_qmr = (:c, :M, :N, :ldiv, :atol, :rtol, :itmax, :timemax, :verbose, :hist
@kaxpby!(n, one(FC), b, -one(FC), r₀)
end
if !MisI
mulorldiv!(p, M, r₀, ldiv)
r₀ = p
mulorldiv!(solver.t, M, r₀, ldiv)
r₀ = solver.t
end

# Initial solution x₀ and residual norm ‖r₀‖.
Expand Down

0 comments on commit 513429b

Please sign in to comment.