Skip to content

Commit 3e681f0

Browse files
Merge pull request #527 from SciML/destats
destats -> stats
2 parents acb388a + 038b14c commit 3e681f0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/SROCK_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function maxeig!(integrator, cache::StochasticDiffEqMutableCache)
8484
if isfirst
8585
@.. fz = fsalfirst
8686
integrator.f(z, fz, p, t)
87-
# integrator.destats.nf += 1
87+
# integrator.stats.nf += 1
8888
else
8989
@.. z = ccache.zprev
9090
end
@@ -115,7 +115,7 @@ function maxeig!(integrator, cache::StochasticDiffEqMutableCache)
115115
integrator.eigen_est = 0
116116
for iter in 1:maxiter
117117
integrator.f(fz, z, p, t)
118-
# integrator.destats.nf += 1
118+
# integrator.stats.nf += 1
119119
@.. fz = fz - fsalfirst
120120

121121
Δ = integrator.opts.internalnorm(fz,t)

src/integrators/type.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ mutable struct SDEIntegrator{algType,IIP,uType,uEltype,tType,tdirType,P2,eigenTy
4242
q::tTypeNoUnits
4343
qold::tTypeNoUnits
4444
q11::tTypeNoUnits
45-
destats::DiffEqBase.DEStats
45+
stats::DiffEqBase.Stats
4646
end

src/solve.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,16 +517,16 @@ function DiffEqBase.__init(
517517
verbose,calck,force_dtmin,
518518
advance_to_tstop,stop_at_next_tstop)
519519

520-
destats = DiffEqBase.DEStats(0)
520+
stats = DiffEqBase.Stats(0)
521521
if typeof(alg) <: Union{StochasticDiffEqCompositeAlgorithm,
522522
StochasticDiffEqRODECompositeAlgorithm}
523523
sol = DiffEqBase.build_solution(prob,alg,ts,timeseries,W=W,
524-
destats = destats,
524+
stats = stats,
525525
calculate_error = false, alg_choice=alg_choice,
526526
interp = id, dense = dense, seed = _seed)
527527
else
528528
sol = DiffEqBase.build_solution(prob,alg,ts,timeseries,W=W,
529-
destats = destats,
529+
stats = stats,
530530
calculate_error = false,
531531
interp = id, dense = dense, seed = _seed)
532532
end
@@ -579,7 +579,7 @@ function DiffEqBase.__init(
579579
alg,sol,
580580
cache,callback_cache,tType(dt),W,P,rate_constants,
581581
opts,iter,success_iter,eigen_est,EEst,q,
582-
QT(qoldinit),q11,destats)
582+
QT(qoldinit),q11,stats)
583583

584584
if initialize_integrator
585585
initialize_callbacks!(integrator, initialize_save)

0 commit comments

Comments
 (0)