Skip to content

Commit 02a6786

Browse files
Update ode_def_opts.jl
1 parent d4081e6 commit 02a6786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ode_def_opts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},curmod,ex::Expr,param
4141

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

44-
sys = ODESystem(mtk_diffeqs,t,vars,params)
44+
sys = ODESystem(mtk_diffeqs,t,vars,params,name=gensym(:Parameterized))
4545

4646
f_ex_oop,f_ex_iip = ModelingToolkit.generate_function(sys,vars,params)
4747

0 commit comments

Comments
 (0)