Skip to content

Commit

Permalink
refactor: remove syms from SDEFunctionWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Dec 16, 2023
1 parent d7f4cbd commit f037c6b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/functionwrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end
(g::SDEDiffusionTermWrapper{false})(u, p, t) = g.g(u, g.h, p, t)

struct SDEFunctionWrapper{iip, F, G, H, TMM, Ta, Tt, TJ, JVP, VJP, JP, SP, TW, TWt, TPJ, GG,
S, TCV} <: DiffEqBase.AbstractRODEFunction{iip}
TCV} <: DiffEqBase.AbstractRODEFunction{iip}
f::F
g::G
h::H
Expand All @@ -25,7 +25,6 @@ struct SDEFunctionWrapper{iip, F, G, H, TMM, Ta, Tt, TJ, JVP, VJP, JP, SP, TW, T
Wfact_t::TWt
paramjac::TPJ
ggprime::GG
syms::S
colorvec::TCV
end

Expand Down Expand Up @@ -54,7 +53,7 @@ function wrap_functions_and_history(f::SDDEFunction, g, h)
typeof(f.analytic), typeof(f.tgrad), typeof(jac), typeof(f.jvp),
typeof(f.vjp), typeof(f.jac_prototype), typeof(f.sparsity),
typeof(f.Wfact), typeof(f.Wfact_t), typeof(f.paramjac),
typeof(f.ggprime), typeof(f.syms), typeof(f.colorvec)}(f.f, gwh, h,
typeof(f.ggprime), typeof(f.colorvec)}(f.f, gwh, h,
f.mass_matrix,
f.analytic,
f.tgrad, jac,
Expand All @@ -65,7 +64,6 @@ function wrap_functions_and_history(f::SDDEFunction, g, h)
f.Wfact_t,
f.paramjac,
f.ggprime,
f.syms,
f.colorvec),
gwh
end

0 comments on commit f037c6b

Please sign in to comment.