Skip to content

Commit 612ceca

Browse files
committed
Fix Van der Pol problem
1 parent 2fbb581 commit 612ceca

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)