Skip to content

Commit 422230b

Browse files
test: remove ODAEProblem test
1 parent 03c3861 commit 422230b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/structural_transformation/tearing.jl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -169,22 +169,6 @@ infprob = ODEProblem(structural_simplify(sys), [x => 1.0], (0, 1.0), [p => 0.2])
169169
infprob.f(du, infprob.u0, pr, tt)
170170
@test any(isnan, du)
171171

172-
sol1 = solve(prob, RosShamp4(), reltol = 2e-4)
173-
sol2 = solve(ODEProblem{false}((u, p, t) -> [-asin(u[1] - pr * t)],
174-
[1.0],
175-
(0, 1.0),
176-
0.2),
177-
Tsit5(), tstops = sol1.t, adaptive = false)
178-
@test Array(sol1[x])Array(sol2[1, :]) atol=1e-5
179-
180-
@test sol1[x] == first.(sol1.u)
181-
@test sol1[y] == first.(sol1.u)
182-
@test sin.(sol1[z]) .+ sol1[y]pr[1] * sol1.t atol=8e-4
183-
@test sol1[sin(z) + y]sin.(sol1[z]) .+ sol1[y] rtol=1e-12
184-
185-
@test sol1[y, :] == sol1[x, :]
186-
@test (@. sin(sol1[z, :]) + sol1[y, :])pr * sol1.t atol=8e-4
187-
188172
# 1426
189173
function Translational_Mass(; name, m = 1.0)
190174
sts = @variables s(t) v(t) a(t)

0 commit comments

Comments
 (0)