Skip to content

Commit 042bd08

Browse files
isaacsasChrisRackauckas
authored andcommitted
add tstops API
1 parent 71a2858 commit 042bd08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/common_interface/integrator_utils.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,7 @@ function DiffEqBase.reinit!(integrator::AbstractSundialsIntegrator,
289289

290290
nothing
291291
end
292+
293+
DiffEqBase.get_tstops(integ::SDEIntegrator) = integ.opts.tstops
294+
DiffEqBase.get_tstops_array(integ::SDEIntegrator) = get_tstops(integ).valtree
295+
DiffEqBase.get_tstops_max(integ::SDEIntegrator) = maximum(get_tstops_array(integ))

0 commit comments

Comments
 (0)