Skip to content

Commit

Permalink
Fix remake for SCCNonlinearProblem
Browse files Browse the repository at this point in the history
It looks like the `explicitfuns!` argument is directly forwarded to the constructor resulting in broken problems after a remake due to `explicitfuns!` being `missing`.
  • Loading branch information
SebastianM-C authored Jan 13, 2025
1 parent eaebe6e commit d52c034
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/remake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,9 @@ function remake(prob::SCCNonlinearProblem; u0 = missing, p = missing, probs = mi
if probs === missing
probs = prob.probs
end
if explicitfuns! === missing
explicitfuns! = prob.explictfuns!
end
offset = 0
if u0 !== missing || p !== missing && parameters_alias
probs = map(probs) do subprob
Expand Down

0 comments on commit d52c034

Please sign in to comment.