From baed4879bf4dbbb5896b6899dae79727a9554e60 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Mon, 12 Aug 2024 12:00:04 -0400 Subject: [PATCH] add test for ode_stripping --- test/downstream/ode_stripping.jl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/downstream/ode_stripping.jl 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