From dfb5612089d64e934baddc97d11da0e5c86af3be Mon Sep 17 00:00:00 2001 From: Pepijn de Vos Date: Mon, 9 Oct 2023 11:25:06 +0200 Subject: [PATCH] use SciMLBase.DEStats --- src/integrators/type.jl | 2 +- src/solve.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/integrators/type.jl b/src/integrators/type.jl index 6f96de274a..5753d4730c 100644 --- a/src/integrators/type.jl +++ b/src/integrators/type.jl @@ -131,7 +131,7 @@ mutable struct ODEIntegrator{algType <: Union{OrdinaryDiffEqAlgorithm, DAEAlgori reinitialize::Bool isdae::Bool opts::O - stats::DiffEqBase.Stats + stats::SciMLBase.DEStats initializealg::IA fsalfirst::FSALType fsallast::FSALType diff --git a/src/solve.jl b/src/solve.jl index 3fa4c67f82..d430d2db89 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -393,7 +393,7 @@ function DiffEqBase.__init(prob::Union{DiffEqBase.AbstractODEProblem, advance_to_tstop, stop_at_next_tstop) - stats = DiffEqBase.Stats(0) + stats = SciMLBase.DEStats(0) if typeof(_alg) <: OrdinaryDiffEqCompositeAlgorithm id = CompositeInterpolationData(f, timeseries, ts, ks, alg_choice, dense, cache)