We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6e383 commit 80d4993Copy full SHA for 80d4993
docs/src/basics/FAQ.md
@@ -57,7 +57,7 @@ A = rand(n, n)
57
b = rand(n)
58
59
weights = [1e-1, 1]
60
-precs = Returns(LinearSolve.InvPreconditioner(Diagonal(weights)), Diagonal(weights))
+precs = Returns((LinearSolve.InvPreconditioner(Diagonal(weights)), Diagonal(weights)))
61
62
prob = LinearProblem(A, b)
63
sol = solve(prob, KrylovJL_GMRES(precs))
0 commit comments