Skip to content

Commit

Permalink
Merge pull request #567 from AayushSabharwal/as/getproperty
Browse files Browse the repository at this point in the history
refactor: remove redundant `getproperty` method
  • Loading branch information
ChrisRackauckas authored Feb 9, 2024
2 parents 195597a + c4cb5dd commit f3c0ea4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/integrators/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,3 @@ mutable struct SDEIntegrator{algType,IIP,uType,uEltype,tType,tdirType,P2,eigenTy
q11::tTypeNoUnits
stats::DiffEqBase.Stats
end

function Base.getproperty(integ::SDEIntegrator, s::Symbol)
if s === :destats
@warn "destats has been deprecated for stats"
getfield(integ,:stats)
else
getfield(integ,s)
end
end

0 comments on commit f3c0ea4

Please sign in to comment.