Skip to content

Commit c967f67

Browse files
fixup! feat: add constructorof for SDDEProblem
1 parent 9077c2e commit c967f67

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/problems/sdde_problems.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,15 @@ function SDDEProblem(f::AbstractSDDEFunction, args...; kwargs...)
159159
end
160160

161161
function ConstructionBase.constructorof(::Type{P}) where {P <: SDDEProblem}
162-
function ctor(f, g, u0, h, tspan, p, noise, constant_lags, dependent_lags, kw, noise_rate_prototype, seed, neutral, order_discontinuity_t0)
162+
function ctor(f, g, u0, h, tspan, p, noise, constant_lags, dependent_lags, kw,
163+
noise_rate_prototype, seed, neutral, order_discontinuity_t0)
163164
if f isa AbstractSDDEFunction
164165
iip = isinplace(f)
165166
else
166167
iip = isinplace(f, 5)
167168
end
168-
return SDDEProblem{iip}(f, g, u0, h, tspan, p; kw..., noise, constant_lags, dependent_lags, noise_rate_prototype, seed, neutral, order_discontinuity_t0)
169+
return SDDEProblem{iip}(
170+
f, g, u0, h, tspan, p; kw..., noise, constant_lags, dependent_lags,
171+
noise_rate_prototype, seed, neutral, order_discontinuity_t0)
169172
end
170173
end
171-

0 commit comments

Comments
 (0)