Skip to content

Commit

Permalink
[documentation] Update preconditioners.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 6, 2024
1 parent 1fa8e21 commit ab927ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/preconditioners.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ using RandomizedPreconditioners, Krylov
= NystromSketch(A, k, r)

P = NystromPreconditioner(Â, μ)
x, stats = cg(A + μ*I, b; M=P)
x, stats = cg(A + μ*I, b; M=P, ldiv=true)

P⁻¹ = NystromPreconditionerInverse(Â, μ)
x, stats = cg(A + μ*I, b; M=P⁻¹)
Expand Down

0 comments on commit ab927ff

Please sign in to comment.