Skip to content

Commit d52c034

Browse files
authored
Fix remake for SCCNonlinearProblem
It looks like the `explicitfuns!` argument is directly forwarded to the constructor resulting in broken problems after a remake due to `explicitfuns!` being `missing`.
1 parent eaebe6e commit d52c034

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/remake.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,9 @@ function remake(prob::SCCNonlinearProblem; u0 = missing, p = missing, probs = mi
824824
if probs === missing
825825
probs = prob.probs
826826
end
827+
if explicitfuns! === missing
828+
explicitfuns! = prob.explictfuns!
829+
end
827830
offset = 0
828831
if u0 !== missing || p !== missing && parameters_alias
829832
probs = map(probs) do subprob

0 commit comments

Comments
 (0)