Skip to content

Commit c6cb71c

Browse files
committed
more docs fixes
1 parent df78b9f commit c6cb71c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/basics/Events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Suppose we have a population of `N(t)` cells that can grow and die, and at time
288288
`t1` we want to inject `M` more cells into the population. We can model this by
289289

290290
```@example events
291-
@parameters M tinject α
291+
@parameters M tinject α(t)
292292
@variables N(t)
293293
Dₜ = Differential(t)
294294
eqs = [Dₜ(N) ~ α - N]

docs/src/tutorials/fmi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ end
172172

173173
```@repl fmi
174174
@named adder = ModelingToolkit.FMIComponent(
175-
Val(2); fmu, type = :ME, reinitializealg = SciMLBase.BrownFullBasicInit());
175+
Val(2); fmu, type = :ME, reinitializealg = BrownFullBasicInit());
176176
isinput(adder.a)
177177
isinput(adder.b)
178178
isoutput(adder.out)
@@ -216,7 +216,7 @@ fmu = loadFMU(
216216
type = :CS)
217217
@named adder = ModelingToolkit.FMIComponent(
218218
Val(2); fmu, type = :CS, communication_step_size = 1e-3,
219-
reinitializealg = SciMLBase.BrownFullBasicInit())
219+
reinitializealg = BrownFullBasicInit())
220220
@mtkbuild sys = ODESystem(
221221
[adder.a ~ a, adder.b ~ b, D(a) ~ t,
222222
D(b) ~ adder.out + adder.c, c^2 ~ adder.out + adder.value],

0 commit comments

Comments
 (0)