Skip to content

Commit fd1fb86

Browse files
Merge pull request #19 from YingboMa/patch
Fix Van der Pol problem
2 parents 2fbb581 + 612ceca commit fd1fb86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ode/ode_simple_nonlinear_prob.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ prob_ode_fitzhughnagumo = ODEProblem(fitz,[1.0;1.0],(0.0,1.0),(0.7,0.8,1/12.5,0.
3737

3838
#Van der Pol Equations
3939
van = @ode_def_noinvhes VanDerPol begin
40-
dy = μ*(1-x^2)*y - x
40+
dy = μ*((1-x^2)*y - x)
4141
dx = 1*y
4242
end μ
4343

@@ -47,7 +47,7 @@ Van der Pol Equations
4747
```math
4848
\\begin{align}
4949
\\frac{dx}{dt} &= y \\\\
50-
\\frac{dy}{dt} &= μ(1-x^2)y -x
50+
\\frac{dy}{dt} &= μ((1-x^2)y -x)
5151
\\end{align}
5252
```
5353

0 commit comments

Comments
 (0)