Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,14 @@ end

hasdualpromote(u0, t) = true

promote_f(f::SplitFunction, ::Val{specialize}, u0, p, t) where {specialize} = f
function promote_f(f::SplitFunction, ::Val{specialize}, u0, p, t) where {specialize}
if isnothing(f._func_cache)
f
else
# Copy the cache to ensure it's properly initialized
remake(f, _func_cache = copy(f._func_cache))
end
end
prepare_alg(alg, u0, p, f) = alg

function get_concrete_tspan(prob, isadapt, kwargs, p)
Expand Down
Loading