We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a18279 commit 25a454bCopy full SHA for 25a454b
src/ode_def_opts.jl
@@ -21,7 +21,7 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},curmod,ex::Expr,param
21
22
23
t = (@variables t)[1]
24
- vars = [@variables $x(t) for x in syms]
+ vars = [(@variables $x(t))[1] for x in syms]
25
params = [@parameters $x for x in Symbol[params...]]
26
27
vars_dict = Dict(x=>Symbol(v) for (x, v) in zip(syms, vars))
0 commit comments