Skip to content

Commit b443b8b

Browse files
authored
Merge pull request #78 from SciML/myb/mtk
MTK 5 compat
2 parents 5cc8276 + 04b4e5b commit b443b8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ParameterizedFunctions"
22
uuid = "65888b18-ceab-5e60-b2b9-181511a3b968"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "5.8.0"
4+
version = "5.9.0"
55

66
[deps]
77
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
@@ -15,7 +15,7 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1515
DataStructures = "0.17, 0.18"
1616
DiffEqBase = "6.5"
1717
Latexify = "0.11, 0.12, 0.13, 0.14"
18-
ModelingToolkit = "4.0"
18+
ModelingToolkit = "4.0, 5"
1919
Reexport = "0.2, 1.0"
2020
julia = "1.3"
2121

src/ode_def_opts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},curmod,ex::Expr,param
3737
funcs = build_component_funcs(symex)
3838
mtk_ops = modelingtoolkitize_expr.(funcs,([t;vars;params],),(curmod,))
3939

40-
ModelingToolkit.@derivatives D'~t
40+
D = ModelingToolkit.Differential(t)
4141

4242
mtk_diffeqs = [D(vars[i]) ~ mtk_ops[i] for i in 1:length(vars)]
4343

0 commit comments

Comments
 (0)