Skip to content

Commit 27c8df1

Browse files
committed
Cleanup
1 parent 4178443 commit 27c8df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/examples.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Using 2D arrays of variables allows to simulate a multi-segment tether:
208208
```julia
209209
@variables pos(t)[1:3, 1:segments+1] = POS0
210210
@variables vel(t)[1:3, 1:segments+1] = VEL0
211-
@variables acc(t)[1:3, 1:segments+1] = ACC0
211+
@variables acc(t)[1:3, 1:segments+1]
212212
```
213213
In this case, it is important to calculate the initial conditions of each particle such that they are physically feasible:
214214
```julia
@@ -390,7 +390,7 @@ function model(se; p1=[0,0,0], p2=nothing, fix_p1=true, fix_p2=false)
390390
```
391391
and
392392
```julia
393-
function model(se, p1, p2, fix_p1, fix_p2, POS0, VEL0, ACC0)
393+
function model(se, p1, p2, fix_p1, fix_p2, POS0, VEL0)
394394
```
395395
The first version calls
396396
- the model with fixed endpoints and zero reel-out speed

0 commit comments

Comments
 (0)