Skip to content

Commit

Permalink
DEStats additon from SciMLBase (#283)
Browse files Browse the repository at this point in the history
* Update solve.jl

use the Destats from SciMLBase

* Update type.jl

* Update type.jl

* Update type.jl

This has no been tested locally and should allow for parallel execution of DDE

* Remove DDEStats

---------

Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
Harry Saxton and devmotion authored Feb 22, 2024
1 parent 4a63b84 commit 22fd71d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 37 deletions.
1 change: 0 additions & 1 deletion src/DelayDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export Discontinuity, MethodOfSteps

include("discontinuity_type.jl")
include("functionwrapper.jl")
include("ddestats.jl")

include("integrators/type.jl")
include("integrators/utils.jl")
Expand Down
34 changes: 0 additions & 34 deletions src/ddestats.jl

This file was deleted.

2 changes: 1 addition & 1 deletion src/integrators/type.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mutable struct DDEIntegrator{algType, IIP, uType, tType, P, eigenType, tTypeNoUn
u_modified::Bool
isdae::Bool
opts::O
stats::DDEStats
stats::SciMLBase.DEStats
history::H
differential_vars::DV
integrator::IType
Expand Down
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function DiffEqBase.__init(prob::DiffEqBase.AbstractDDEProblem,
Val(isinplace(prob)))

# separate statistics of the integrator and the history
stats = DDEStats(0)
stats = SciMLBase.DEStats(0)

# create solution
alg_choice = iscomposite(alg) ? Int[] : nothing
Expand Down

0 comments on commit 22fd71d

Please sign in to comment.