Skip to content

Commit 2a18279

Browse files
authored
Update src/ode_def_opts.jl
1 parent 29de1a4 commit 2a18279

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

2222

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

0 commit comments

Comments
 (0)