Skip to content

Commit ba09c43

Browse files
author
avik-pal
committed
Replace destats
1 parent f4c0a1f commit ba09c43

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/integrators/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ end
100100
end
101101

102102
function DiffEqBase.auto_dt_reset!(integrator::SDDEIntegrator)
103-
# @unpack f,g, u, t, tdir, opts, sol, destats = integrator
103+
# @unpack f,g, u, t, tdir, opts, sol, stats = integrator
104104
@unpack f, g, u, t, tdir, opts, sol = integrator
105105
@unpack prob = sol
106106
@unpack abstol, reltol, internalnorm = opts

src/integrators/type.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ mutable struct SDDEIntegrator{algType, IIP, uType, uEltype, tType, P, eigenType,
7979
qold::tTypeNoUnits
8080
q11::tTypeNoUnits
8181
history::H
82-
destats::DiffEqBase.DEStats
82+
stats::DiffEqBase.Stats
8383
integrator::IType # history integrator
8484
end
8585

src/solve.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,20 +407,20 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
407407
verbose, calck, force_dtmin,
408408
advance_to_tstop, stop_at_next_tstop)
409409

410-
destats = DiffEqBase.DEStats(0)
410+
stats = DiffEqBase.Stats(0)
411411
if typeof(getalg(alg)) <: StochasticDiffEq.StochasticDiffEqCompositeAlgorithm
412412
# TODO: DISCONNECT!!!!
413413
sol = DiffEqBase.build_solution(prob, alg, sde_integrator.sol.t,
414414
sde_integrator.sol.u, W = W,
415-
destats = destats,
415+
stats = stats,
416416
calculate_error = false, alg_choice = alg_choice,
417417
interp = id, dense = dense, seed = _seed)
418418
# separate statistics of the integrator and the history
419419
else
420420
# TODO: DISCONNECT!!!!
421421
sol = DiffEqBase.build_solution(prob, alg, sde_integrator.sol.t,
422422
sde_integrator.sol.u, W = W,
423-
destats = destats,
423+
stats = stats,
424424
calculate_error = false,
425425
interp = id, dense = dense, seed = _seed)
426426
# separate statistics of the integrator and the history
@@ -483,7 +483,7 @@ function DiffEqBase.__init(prob::AbstractSDDEProblem,# TODO DiffEqBasee.Abstract
483483
P,
484484
opts, iter, success_iter, eigen_est,
485485
EEst, q, QT(qoldinit), q11, history,
486-
destats, sde_integrator)
486+
stats, sde_integrator)
487487

488488
if initialize_integrator
489489
StochasticDiffEq.initialize_callbacks!(integrator, initialize_save)

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ function build_history_function(prob, alg, reltol, rate_prototype, noise_rate_pr
186186
if typeof(getalg(alg)) <: StochasticDiffEq.StochasticDiffEqCompositeAlgorithm
187187
alg_choice = Int[]
188188
sde_sol = DiffEqBase.build_solution(prob, alg, sde_ts, sde_timeseries, W = W,
189-
destats = DiffEqBase.DEStats(0),
189+
stats = DiffEqBase.Stats(0),
190190
calculate_error = false,
191191
alg_choice = alg_choice,
192192
interp = id, dense = dense, seed = _seed)
193193
else
194194
sde_sol = DiffEqBase.build_solution(prob, alg, sde_ts, sde_timeseries, W = W,
195-
destats = DiffEqBase.DEStats(0),
195+
stats = DiffEqBase.Stats(0),
196196
calculate_error = false,
197197
interp = id, dense = dense, seed = _seed)
198198
end

0 commit comments

Comments
 (0)