Skip to content

Commit 9077c2e

Browse files
fixup! feat: add constructorof for DDEProblem
1 parent 7e69b13 commit 9077c2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/problems/dde_problems.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,15 @@ struct DDEProblem{uType, tType, lType, lType2, isinplace, P, F, H, K, PT} <:
254254
end
255255

256256
function ConstructionBase.constructorof(::Type{P}) where {P <: DDEProblem}
257-
function ctor(f, u0, h, tspan, p, constant_lags, dependent_lags, kw, neutral, order_discontinuity_t0, problem_type)
257+
function ctor(f, u0, h, tspan, p, constant_lags, dependent_lags,
258+
kw, neutral, order_discontinuity_t0, problem_type)
258259
if f isa AbstractDDEFunction
259260
iip = isinplace(f)
260261
else
261262
iip = isinplace(f, 5)
262263
end
263-
return DDEProblem{iip}(f, u0, h, tspan, p; kw..., constant_lags, dependent_lags, neutral, order_discontinuity_t0, problem_type)
264+
return DDEProblem{iip}(f, u0, h, tspan, p; kw..., constant_lags, dependent_lags,
265+
neutral, order_discontinuity_t0, problem_type)
264266
end
265267
end
266268

0 commit comments

Comments
 (0)