Skip to content

Commit af02155

Browse files
refactor: remove old remake(::DDEFunction)
1 parent 60cdcb8 commit af02155

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/remake.jl

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -515,28 +515,6 @@ function remake(prob::DDEProblem; f = missing, h = missing, u0 = missing,
515515
return prob
516516
end
517517

518-
function remake(func::DDEFunction;
519-
f = missing,
520-
mass_matrix = missing,
521-
analytic = missing,
522-
sys = missing,
523-
kwargs...)
524-
props = getproperties(func)
525-
props = @delete props.f
526-
@reset props.mass_matrix = coalesce(mass_matrix, func.mass_matrix)
527-
@reset props.analytic = coalesce(analytic, func.analytic)
528-
@reset props.sys = coalesce(sys, func.sys)
529-
530-
if f === missing
531-
f = func.f
532-
end
533-
if f isa AbstractSciMLFunction
534-
f = f.f
535-
end
536-
537-
return DDEFunction{isinplace(func)}(f; props..., kwargs...)
538-
end
539-
540518
function remake(prob::SDDEProblem;
541519
f = missing,
542520
g = missing,

0 commit comments

Comments
 (0)