Skip to content

Commit 25a454b

Browse files
authored
Update src/ode_def_opts.jl
1 parent 2a18279 commit 25a454b

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
@@ -21,7 +21,7 @@ function ode_def_opts(name::Symbol,opts::Dict{Symbol,Bool},curmod,ex::Expr,param
2121

2222

2323
t = (@variables t)[1]
24-
vars = [@variables $x(t) for x in syms]
24+
vars = [(@variables $x(t))[1] for x in syms]
2525
params = [@parameters $x for x in Symbol[params...]]
2626

2727
vars_dict = Dict(x=>Symbol(v) for (x, v) in zip(syms, vars))

0 commit comments

Comments
 (0)