Skip to content

Commit f5746b2

Browse files
committed
doc: minor modification in MTK example
1 parent 7df5732 commit f5746b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/src/manual/mtk.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function generate_f_h_mtk(model, inputs, outputs, disturbances=nothing)
4747
f_ip_with_d(ẋ, x, u, p, nothing, d)
4848
catch err
4949
if err isa MethodError
50-
error("NonLinModel does not support a time argument t in the f "*
50+
error("NonLinModel(DAE) does not support a time argument t in the f "*
5151
"function, see the constructor docstring for a workaround.")
5252
else
5353
rethrow()
@@ -68,7 +68,7 @@ function generate_f_h_mtk(model, inputs, outputs, disturbances=nothing)
6868
h_ip_with_d(y, x, u_nothing, p, nothing, d)
6969
catch err
7070
if err isa MethodError
71-
error("NonLinModel only support strictly proper systems (no "*
71+
error("This package only support strictly proper systems (no "*
7272
"manipulated input argument u in the output function h)")
7373
else
7474
rethrow()

0 commit comments

Comments
 (0)