diff --git a/test/downstream/ode_stripping.jl b/test/downstream/ode_stripping.jl new file mode 100644 index 000000000..b11336974 --- /dev/null +++ b/test/downstream/ode_stripping.jl @@ -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) \ No newline at end of file