Skip to content

Commit e9116ee

Browse files
no extra eval
1 parent 3ac7eb4 commit e9116ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/diffeqs/diffeqsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ function DiffEqBase.ODEFunction(sys::ODESystem, dvs, ps; version::FunctionVersio
199199
expr = eval(generate_function(sys, dvs, ps; version = version))
200200
jac_expr = isempty(sys.jac[]) ? nothing : eval(sys.jac[])
201201
if version === ArrayFunction
202-
ODEFunction{true}(eval(expr),jac=jac_expr)
202+
ODEFunction{true}(expr,jac=jac_expr)
203203
elseif version === SArrayFunction
204-
ODEFunction{false}(eval(expr),jac=jac_expr)
204+
ODEFunction{false}(expr,jac=jac_expr)
205205
end
206206
end

0 commit comments

Comments
 (0)