Skip to content

Commit d569ac7

Browse files
Update FAQ.md
1 parent 267a1ad commit d569ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/basics/FAQ.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ can use `ComposePreconditioner` to apply the preconditioner after the applicatio
2424
of the weights like as follows:
2525

2626
```julia
27-
Pl = ComposePreconitioner(LinearSolve.DiagonalPreconditioner(1 ./ weights),realprec)
27+
Pl = ComposePreconitioner(LinearSolve.InvDiagonalPreconditioner(weights),realprec)
2828
Pr = LinearSolve.DiagonalPreconditioner(weights)
2929

3030
A = rand(n,n)

0 commit comments

Comments
 (0)