From d814e2c98e159e726a029c110295c61737b1523f Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Wed, 11 Dec 2024 17:21:04 +0530 Subject: [PATCH] refactor: remove old `remake(::DDEFunction)` --- src/remake.jl | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/remake.jl b/src/remake.jl index 373083f69..d6c4b4eba 100644 --- a/src/remake.jl +++ b/src/remake.jl @@ -517,28 +517,6 @@ function remake(prob::DDEProblem; f = missing, h = missing, u0 = missing, return prob end -function remake(func::DDEFunction; - f = missing, - mass_matrix = missing, - analytic = missing, - sys = missing, - kwargs...) - props = getproperties(func) - props = @delete props.f - @reset props.mass_matrix = coalesce(mass_matrix, func.mass_matrix) - @reset props.analytic = coalesce(analytic, func.analytic) - @reset props.sys = coalesce(sys, func.sys) - - if f === missing - f = func.f - end - if f isa AbstractSciMLFunction - f = f.f - end - - return DDEFunction{isinplace(func)}(f; props..., kwargs...) -end - function remake(prob::SDDEProblem; f = missing, g = missing,