Skip to content

Commit 8ebe638

Browse files
committed
fix typos
1 parent 8f005cd commit 8ebe638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/2D-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ println("ξ = ", ξ[1])
163163
println("JS(ξ) : ", JS(ξ)[1])
164164
```
165165

166-
However, the solver $\texttt{hybrd1}$ uses rank 1 approximations to actualize the Jacobian insted of compute it at each iteration, which imply that it still converges to the solution even if the given Jacobian is completely false.
166+
However, the solver $\texttt{hybrd1}$ uses rank 1 approximations to actualize the Jacobian instead of compute it at each iteration, which imply that it still converges to the solution even if the given Jacobian is completely false.
167167

168168
```@example main
169169
JS!(js, ξ) = (js[:] .= JS(ξ); nothing) # auxiliary function
@@ -236,7 +236,7 @@ To provide this change of dynamic to the solver, we need to use a callback durin
236236

237237
For us, the condition is given by $(x,p) \to p$. For the $\texttt{affect!}$ function, we use a global parameter $\alpha$. This parameter will be set to $\pm 1$ at the beginning of the integration and it sign will change with the $\texttt{affect!}$ function.
238238

239-
Thanks to the $\texttt{control-toolbox}$ package, the created callback can be easily pass to the integrator throught the $\texttt{Flow}$ function.
239+
Thanks to the $\texttt{control-toolbox}$ package, the created callback can be easily pass to the integrator through the $\texttt{Flow}$ function.
240240

241241
```@example main
242242
global α # parameter: ̇p(t) = α with α = ±1

0 commit comments

Comments
 (0)