Skip to content

Commit aeacabc

Browse files
authored
Merge pull request #37 from control-toolbox/ocots-patch-1
Update CI.yml
2 parents bf0e385 + 8ebe638 commit aeacabc

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
1-
# [.github/workflows/CI.yml]
21
name: CI
2+
33
on:
44
push:
55
branches:
66
- main
77
tags: '*'
88
pull_request:
9+
910
jobs:
1011
call:
11-
strategy:
12-
matrix:
13-
version:
14-
- '1.10'
15-
- '1.11'
16-
os:
17-
- ubuntu-latest
18-
arch:
19-
- x64
2012
uses: control-toolbox/CTActions/.github/workflows/ci.yml@main
21-
with:
22-
version: ${{ matrix.version }}
23-
os: ${{ matrix.os }}
24-
arch: ${{ matrix.arch }}

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)