Skip to content

Commit 3dad792

Browse files
authored
Merge pull request #123 from JuliaControl/doc_correction
Doc correction and simple CI fix
2 parents b24332b + 84c7008 commit 3dad792

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sim_model.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ detailstr(model::SimModel) = ""
187187
@doc raw"""
188188
initstate!(model::SimModel, u, d=[]) -> x
189189
190-
Init `model.x0` with manipulated inputs `u` and meas. dist. `d` steady-state and reset time.
190+
Init `model.x0` with manipulated inputs `u` and meas. dist. `d` steady-state.
191191
192192
The method tries to initialize the model state ``\mathbf{x}`` at steady-state. It removes
193193
the operating points on `u` and `d` and calls [`steadystate!`](@ref):
@@ -316,7 +316,7 @@ ms. Can be used to implement simple soft real-time simulations, see the example
316316
317317
# Examples
318318
```jldoctest
319-
julia> model = LinModel(tf(2, [0.3, 1]), 0.1);
319+
julia> model = LinModel(tf(2, [0.3, 1]), 0.25);
320320
321321
julia> function sim_realtime!(model)
322322
t_0 = time()
@@ -330,8 +330,8 @@ julia> function sim_realtime!(model)
330330
331331
julia> sim_realtime!(model)
332332
0.0
333-
0.1
334-
0.2
333+
0.25
334+
0.5
335335
```
336336
"""
337337
function periodsleep(model::SimModel, busywait=false)

0 commit comments

Comments
 (0)