Skip to content

Commit 13bf386

Browse files
Merge pull request #140 from SciML/ChrisRackauckas-patch-1
Fix strange_attractors.jl eval module
2 parents 81563c4 + 7034918 commit 13bf386

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/ODEProblemLibrary/src/strange_attractors.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(latexify(thomas))
2323
2424
[Wikipedia](https://en.wikipedia.org/wiki/Thomas%27_cyclically_symmetric_attractor)
2525
"""
26-
prob_ode_thomas = ODEProblem(thomas, [], (0.0, 1.0))
26+
prob_ode_thomas = ODEProblem(thomas, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
2727

2828
# Lorenz
2929
@parameters σ=10 ρ=28 β=8 / 3
@@ -46,7 +46,7 @@ $(latexify(lorenz))
4646
4747
[Wikipedia](https://en.wikipedia.org/wiki/Lorenz_system)
4848
"""
49-
prob_ode_lorenz = ODEProblem(lorenz, [], (0.0, 1.0))
49+
prob_ode_lorenz = ODEProblem(lorenz, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
5050

5151
# Aizawa
5252
@parameters a=0.95 b=0.7 c=0.6 d=3.5 e=0.25 f=0.1
@@ -68,7 +68,7 @@ $(latexify(aizawa))
6868
[Reference](https://journals.ametsoc.org/view/journals/atsc/20/2/1520-0469_1963_020_0130_dnf_2_0_co_2.xml)
6969
7070
"""
71-
prob_ode_aizawa = ODEProblem(aizawa, [], (0.0, 1.0))
71+
prob_ode_aizawa = ODEProblem(aizawa, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
7272

7373
# Dadras
7474
@parameters a=3 b=2.7 c=1.7 d=2 e=9
@@ -90,7 +90,7 @@ $(latexify(dadras))
9090
[Reference](https://www.sciencedirect.com/science/article/abs/pii/S0375960109009591)
9191
9292
"""
93-
prob_ode_dadras = ODEProblem(dadras, [], (0.0, 1.0))
93+
prob_ode_dadras = ODEProblem(dadras, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
9494

9595
# chen
9696
@parameters a=35 b=3 c=28
@@ -112,7 +112,7 @@ $(latexify(chen))
112112
[Reference](https://www.worldscientific.com/doi/abs/10.1142/S0218127499001024)
113113
114114
"""
115-
prob_ode_chen = ODEProblem(chen, [], (0.0, 1.0))
115+
prob_ode_chen = ODEProblem(chen, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
116116

117117
# rossler
118118
@parameters a=0.2 b=0.2 c=5.7
@@ -135,7 +135,7 @@ $(latexify(rossler))
135135
[Wikipedia](https://en.wikipedia.org/wiki/R%C3%B6ssler_attractor)
136136
137137
"""
138-
prob_ode_rossler = ODEProblem(rossler, [], (0.0, 1.0))
138+
prob_ode_rossler = ODEProblem(rossler, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
139139

140140
# rabinovich_fabrikant
141141
@parameters a=0.14 b=0.10
@@ -157,7 +157,7 @@ $(latexify(rabinovich_fabrikant))
157157
[Reference](https://en.wikipedia.org/wiki/Rabinovich%E2%80%93Fabrikant_equations)
158158
159159
"""
160-
prob_ode_rabinovich_fabrikant = ODEProblem(rabinovich_fabrikant, [], (0.0, 1.0))
160+
prob_ode_rabinovich_fabrikant = ODEProblem(rabinovich_fabrikant, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
161161

162162
# sprott
163163
@parameters a=2.07 b=1.79
@@ -179,7 +179,7 @@ $(latexify(sprott))
179179
[Reference](https://sprott.physics.wisc.edu/pubs/paper423.pdf)
180180
181181
"""
182-
prob_ode_sprott = ODEProblem(sprott, [], (0.0, 1.0))
182+
prob_ode_sprott = ODEProblem(sprott, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)
183183

184184
# hindmarsh_rose
185185
@parameters a=1 b=3 c=1 d=5 r=1e-2 s=4 xr=-8 / 5 i=5
@@ -201,4 +201,4 @@ $(latexify(hindmarsh_rose))
201201
[Reference](https://en.wikipedia.org/wiki/Hindmarsh%E2%80%93Rose_model)
202202
203203
"""
204-
prob_ode_hindmarsh_rose = ODEProblem(hindmarsh_rose, [], (0.0, 1.0))
204+
prob_ode_hindmarsh_rose = ODEProblem(hindmarsh_rose, [], (0.0, 1.0), jac=true, eval_module = @__MODULE__)

0 commit comments

Comments
 (0)