We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52b61c commit edbaf7aCopy full SHA for edbaf7a
test/interface/stiffness_detection_test.jl
@@ -1,8 +1,9 @@
1
using OrdinaryDiffEq, Test, ADTypes
2
-import ODEProblemLibrary: van
+import ODEProblemLibrary: prob_ode_vanderpol
3
using ForwardDiff: Dual
4
5
-prob1 = ODEProblem(van, [0, 2.0], (0.0, 6), inv(0.003))
+sys = prob_ode_vanderpol.f.sys
6
+prob1 = ODEProblem(sys, [sys.y => 0, sys.x => 2.0], (0.0, 6), [sys.μ => inv(0.003)])
7
function __van(du, u, p, t)
8
μ = p[1]
9
du[1] = μ * ((1 - u[2]^2) * u[1] - u[2])
0 commit comments