Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Aug 7, 2024
1 parent 8c6e383 commit 80d4993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/basics/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ A = rand(n, n)
b = rand(n)
weights = [1e-1, 1]
precs = Returns(LinearSolve.InvPreconditioner(Diagonal(weights)), Diagonal(weights))
precs = Returns((LinearSolve.InvPreconditioner(Diagonal(weights)), Diagonal(weights)))
prob = LinearProblem(A, b)
sol = solve(prob, KrylovJL_GMRES(precs))
Expand Down

0 comments on commit 80d4993

Please sign in to comment.