Skip to content

Commit

Permalink
fix typo; replace "functor" by "callable object"
Browse files Browse the repository at this point in the history
Googling "Callable object" leads to the right place in the julia docs
and is easier to understand
  • Loading branch information
j-fu committed Oct 22, 2024
1 parent bf6221e commit 89ed45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/basics/Preconditioners.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sol = solve(prob, KrylovJL_GMRES(precs = (A,p)->(Diagonal(A),I)) )
sol.u
```
This approach has the advantage that the specification of the preconditioner is possible without
the knowledge of a concrete matrix `A`. It also allows to specifiy the preconditioner via a functor struct:
the knowledge of a concrete matrix `A`. It also allows to specify the preconditioner via a callable object:

```@example precon2
using LinearSolve, LinearAlgebra
Expand Down

0 comments on commit 89ed45b

Please sign in to comment.