Skip to content

Commit 421b1b0

Browse files
Fix cache name in SplitFunction
1 parent 49a61f5 commit 421b1b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scimlfunctions.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,7 +2838,7 @@ end
28382838
function SplitFunction{iip, specialize}(f1, f2;
28392839
mass_matrix = __has_mass_matrix(f1) ?
28402840
f1.mass_matrix : I,
2841-
_func_cache = nothing,
2841+
cache = nothing,
28422842
analytic = __has_analytic(f1) ? f1.analytic :
28432843
nothing,
28442844
tgrad = __has_tgrad(f1) ? f1.tgrad : nothing,
@@ -2885,20 +2885,20 @@ function SplitFunction{iip, specialize}(f1, f2;
28852885
SplitFunction{iip, specialize, Any, Any, Any, Any, Any, Any, Any, Any, Any,
28862886
Any, Any, Any, Any, Any, Any, Any,
28872887
Any, Any, Union{Nothing, OverrideInitData}, Union{Nothing, ODE_NLProbData}}(
2888-
f1, f2, mass_matrix, _func_cache,
2888+
f1, f2, mass_matrix, cache,
28892889
analytic,
28902890
tgrad, jac, jvp, vjp, jac_prototype, W_prototype,
28912891
sparsity, Wfact, Wfact_t, paramjac,
28922892
observed, colorvec, sys, initdata, nlprob_data)
28932893
else
28942894
SplitFunction{iip, specialize, typeof(f1), typeof(f2), typeof(mass_matrix),
2895-
typeof(_func_cache), typeof(analytic),
2895+
typeof(cache), typeof(analytic),
28962896
typeof(tgrad), typeof(jac), typeof(jvp), typeof(vjp),
28972897
typeof(jac_prototype), typeof(W_prototype), typeof(sparsity),
28982898
typeof(Wfact), typeof(Wfact_t), typeof(paramjac), typeof(observed),
28992899
typeof(colorvec),
29002900
typeof(sys), typeof(initdata), typeof(nlprob_data)}(f1, f2,
2901-
mass_matrix, _func_cache, analytic, tgrad, jac,
2901+
mass_matrix, cache, analytic, tgrad, jac,
29022902
jvp, vjp, jac_prototype, W_prototype,
29032903
sparsity, Wfact, Wfact_t, paramjac, observed, colorvec, sys,
29042904
initdata, nlprob_data)

0 commit comments

Comments
 (0)