@@ -542,7 +542,7 @@ Create a Julia expression for an `ODEFunction` from the [`ODESystem`](@ref).
542
542
The arguments `dvs` and `ps` are used to set the order of the dependent
543
543
variable and parameter vectors, respectively.
544
544
"""
545
- struct ODEFunctionExpr{iip,specialize} end
545
+ struct ODEFunctionExpr{iip, specialize} end
546
546
547
547
struct ODEFunctionClosure{O, I} <: Function
548
548
f_oop:: O
551
551
(f:: ODEFunctionClosure )(u, p, t) = f. f_oop (u, p, t)
552
552
(f:: ODEFunctionClosure )(du, u, p, t) = f. f_iip (du, u, p, t)
553
553
554
- function ODEFunctionExpr {iip,specialize} (sys:: AbstractODESystem , dvs = unknowns (sys),
554
+ function ODEFunctionExpr {iip, specialize} (sys:: AbstractODESystem , dvs = unknowns (sys),
555
555
ps = parameters (sys), u0 = nothing ;
556
556
version = nothing , tgrad = false ,
557
557
jac = false , p = nothing ,
@@ -560,7 +560,7 @@ function ODEFunctionExpr{iip,specialize}(sys::AbstractODESystem, dvs = unknowns(
560
560
steady_state = false ,
561
561
sparsity = false ,
562
562
observedfun_exp = nothing ,
563
- kwargs... ) where {iip,specialize}
563
+ kwargs... ) where {iip, specialize}
564
564
if ! iscomplete (sys)
565
565
error (" A completed system is required. Call `complete` or `structural_simplify` on the system before creating an `ODEFunctionExpr`" )
566
566
end
@@ -601,7 +601,7 @@ function ODEFunctionExpr{iip,specialize}(sys::AbstractODESystem, dvs = unknowns(
601
601
jp_expr = sparse ? :($ similar ($ (get_jac (sys)[]), Float64)) : :nothing
602
602
ex = quote
603
603
let $ _f, $ _tgrad, $ _jac, $ _M
604
- ODEFunction {$iip,$specialize} ($ fsym,
604
+ ODEFunction {$iip, $specialize} ($ fsym,
605
605
sys = $ sys,
606
606
jac = $ jacsym,
607
607
tgrad = $ tgradsym,
0 commit comments