Skip to content

Commit be71f76

Browse files
Merge pull request #67 from SciML/myb/vanderpol
Fix Van der Pol equations
2 parents 12cc264 + f6617a0 commit be71f76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqProblemLibrary"
22
uuid = "a077e3f3-b75c-5d7f-a0c6-6bc4c8ec64a9"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "4.9.0"
4+
version = "4.9.1"
55

66
[deps]
77
Catalyst = "479239e8-5488-4da2-87a7-35f2df7eef83"

src/ode/ode_simple_nonlinear_prob.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ prob_ode_fitzhughnagumo = ODEProblem(fitz,[1.0;1.0],(0.0,1.0),(0.7,0.8,1/12.5,0.
5252
@parameters t μ
5353
@variables x(t) y(t)
5454
@derivatives D'~t
55-
eqs = [D(x) ~ μ*((1-x^2)*y - x),
56-
D(y) ~ y]
55+
eqs = [D(y) ~ μ*((1-x^2)*y - x),
56+
D(x) ~ y]
5757
de = ODESystem(eqs)
58-
van = ODEFunction(de, [x,y], [μ], jac=true)
58+
van = ODEFunction(de, [y,x], [μ], jac=true)
5959

6060
"""
6161
Van der Pol Equations

0 commit comments

Comments
 (0)