Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 31, 2024
1 parent 5c3a71b commit 0f3116b
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 67 deletions.
7 changes: 4 additions & 3 deletions src/integrators/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ end
fsalfirst::FSALType
fsallast::FSALType
end

else
mutable struct DDEIntegrator{algType, IIP, uType, tType, P, eigenType, tTypeNoUnits,
tdirType,
ksEltype, SolType, F, CacheType, IType, FP, O, dAbsType,
dRelType, H,
tstopsType, discType, FSALType, EventErrorType,
CallbackCacheType, DV} <:
AbstractDDEIntegrator{algType, IIP, uType, tType}
AbstractDDEIntegrator{algType, IIP, uType, tType}
sol::SolType
u::uType
k::ksEltype
Expand Down Expand Up @@ -209,7 +209,8 @@ else
history,
differential_vars,
integrator) where
{algType, IIP, uType, tType, P, eigenType, tTypeNoUnits, tdirType, ksEltype,
{
algType, IIP, uType, tType, P, eigenType, tTypeNoUnits, tdirType, ksEltype,
SolType, F,
CacheType, IType, FP, O, dAbsType, dRelType, H, tstopsType, discType,
FSALType, EventErrorType, CallbackCacheType, DV}
Expand Down
128 changes: 64 additions & 64 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,71 +397,71 @@ function DiffEqBase.__init(prob::DiffEqBase.AbstractDDEProblem,
dtacc = tType(1)

if isdefined(OrdinaryDiffEq, :get_fsalfirstlast)
fsalfirst, fsallast = OrdinaryDiffEq.get_fsalfirstlast(cache,rate_prototype)
fsalfirst, fsallast = OrdinaryDiffEq.get_fsalfirstlast(cache, rate_prototype)
integrator = DDEIntegrator{typeof(alg.alg), isinplace(prob), typeof(u0), tType,
typeof(p),
typeof(eigen_est), QT, typeof(tdir), typeof(k), typeof(sol),
typeof(f_with_history), typeof(cache),
typeof(ode_integrator), typeof(fpsolver),
typeof(opts), typeof(discontinuity_abstol),
typeof(discontinuity_reltol), typeof(history),
typeof(tstops_propagated),
typeof(d_discontinuities_propagated),
typeof(fsalfirst),
typeof(last_event_error), typeof(callback_cache),
typeof(differential_vars)}(sol, u, k,
t0,
tType(dt),
f_with_history,
p,
uprev,
uprev2,
tprev,
prev_idx,
prev2_idx,
fpsolver,
order_discontinuity_t0,
tracked_discontinuities,
discontinuity_interp_points,
discontinuity_abstol,
discontinuity_reltol,
tstops_propagated,
d_discontinuities_propagated,
alg.alg,
dtcache,
dtchangeable,
dtpropose,
tdir,
eigen_est,
EEst,
QT(qoldinit),
q11,
erracc,
dtacc,
success_iter,
iter,
length(ts),
length(ts),
cache,
callback_cache,
kshortsize,
force_stepfail,
last_stepfail,
just_hit_tstop,
do_error_check,
event_last_time,
vector_event_last_time,
last_event_error,
accept_step,
isout,
reeval_fsal,
u_modified,
isdae,
opts,
stats,
history,
differential_vars,
ode_integrator, fsalfirst, fsallast)
typeof(p),
typeof(eigen_est), QT, typeof(tdir), typeof(k), typeof(sol),
typeof(f_with_history), typeof(cache),
typeof(ode_integrator), typeof(fpsolver),
typeof(opts), typeof(discontinuity_abstol),
typeof(discontinuity_reltol), typeof(history),
typeof(tstops_propagated),
typeof(d_discontinuities_propagated),
typeof(fsalfirst),
typeof(last_event_error), typeof(callback_cache),
typeof(differential_vars)}(sol, u, k,
t0,
tType(dt),
f_with_history,
p,
uprev,
uprev2,
tprev,
prev_idx,
prev2_idx,
fpsolver,
order_discontinuity_t0,
tracked_discontinuities,
discontinuity_interp_points,
discontinuity_abstol,
discontinuity_reltol,
tstops_propagated,
d_discontinuities_propagated,
alg.alg,
dtcache,
dtchangeable,
dtpropose,
tdir,
eigen_est,
EEst,
QT(qoldinit),
q11,
erracc,
dtacc,
success_iter,
iter,
length(ts),
length(ts),
cache,
callback_cache,
kshortsize,
force_stepfail,
last_stepfail,
just_hit_tstop,
do_error_check,
event_last_time,
vector_event_last_time,
last_event_error,
accept_step,
isout,
reeval_fsal,
u_modified,
isdae,
opts,
stats,
history,
differential_vars,
ode_integrator, fsalfirst, fsallast)
else
integrator = DDEIntegrator{typeof(alg.alg), isinplace(prob), typeof(u0), tType,
typeof(p),
Expand Down

0 comments on commit 0f3116b

Please sign in to comment.