Skip to content

Commit 3880202

Browse files
Update type.jl
1 parent d4637a2 commit 3880202

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/integrators/type.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,12 @@ mutable struct SDEIntegrator{algType,IIP,uType,uEltype,tType,tdirType,P2,eigenTy
4444
q11::tTypeNoUnits
4545
stats::DiffEqBase.Stats
4646
end
47+
48+
function Base.getproperty(integ::SDEIntegrator, s::Symbol)
49+
if s === :destats
50+
@warn "destats has been deprecated for stats"
51+
getfield(integ,:stats)
52+
else
53+
getfield(integ,s)
54+
end
55+
end

0 commit comments

Comments
 (0)