Skip to content

Commit

Permalink
Update matrix_free.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored Oct 13, 2024
1 parent b68a403 commit 466997f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/matrix_free.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ end
complex = false
A = FFTPoissonOperator(n, L, complex)
# Solve the linear system using CR
# Solve the linear system using CG
u_sol, stats = cg(A, f, atol=1e-10, rtol=0.0, verbose=1)
# The exact solution is u(x) = -sin(x)
Expand Down

0 comments on commit 466997f

Please sign in to comment.