We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267a1ad commit d569ac7Copy full SHA for d569ac7
docs/src/basics/FAQ.md
@@ -24,7 +24,7 @@ can use `ComposePreconditioner` to apply the preconditioner after the applicatio
24
of the weights like as follows:
25
26
```julia
27
-Pl = ComposePreconitioner(LinearSolve.DiagonalPreconditioner(1 ./ weights),realprec)
+Pl = ComposePreconitioner(LinearSolve.InvDiagonalPreconditioner(weights),realprec)
28
Pr = LinearSolve.DiagonalPreconditioner(weights)
29
30
A = rand(n,n)
0 commit comments