Skip to content

Commit

Permalink
add test for ode_stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Aug 12, 2024
1 parent b734f19 commit baed487
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/downstream/ode_stripping.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using OrdinaryDiffEq
f(u, p, t) = 1.01 * u
u0 = 1 / 2
tspan = (0.0, 1.0)
prob = ODEProblem(f, u0, tspan)
sol = solve(prob, Tsit5(), reltol = 1e-8, abstol = 1e-8)

@test isnothing(strip_solution(sol).f)

0 comments on commit baed487

Please sign in to comment.