Skip to content

Commit 11d5bf4

Browse files
committed
fix pleiades typo, export the function.
1 parent 010d752 commit 11d5bf4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/DiffEqProblemLibrary.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include("premade_meshes.jl")
1414
export prob_ode_linear, prob_ode_bigfloatlinear, prob_ode_2Dlinear,
1515
prob_ode_large2Dlinear, prob_ode_bigfloat2Dlinear, prob_ode_rigidbody,
1616
prob_ode_2Dlinear_notinplace, prob_ode_vanderpol, prob_ode_vanderpol_stiff,
17-
prob_ode_lorenz, prob_ode_rober, prob_ode_threebody, prob_ode_mm_linear
17+
prob_ode_lorenz, prob_ode_rober, prob_ode_threebody, prob_ode_mm_linear, prob_ode_pleiades
1818

1919
#SDE Example Problems
2020
export prob_sde_wave, prob_sde_linear, prob_sde_cubic, prob_sde_2Dlinear, prob_sde_lorenz,

src/ode_premade_problems.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ prob_ode_rigidbody = ODEProblem(rigid,[1.0,0.0,0.9],(0.0,20.0))
295295

296296
# Pleiades Problem
297297

298-
pleides = (t,u,du) -> begin
298+
pleiades = (t,u,du) -> begin
299299
x = view(u,1:7) # x
300300
y = view(u,8:14) # y
301301
v = view(u,15:21) # x′
@@ -314,7 +314,7 @@ pleides = (t,u,du) -> begin
314314
end
315315
end
316316
"""
317-
Pleides Problem
317+
Pleiades Problem
318318
319319
```math
320320
\\begin{align}
@@ -365,7 +365,7 @@ From Hairer Norsett Wanner Solving Ordinary Differential Equations I - Nonstiff
365365
366366
Usually solved from 0 to 3.
367367
"""
368-
prob_ode_pleides = ODEProblem(pleides,[3.0,3.0,-1.0,-3.0,2.0,-2.0,2.0,3.0,-3.0,2.0,0,0,-4.0,4.0,0,0,0,0,0,1.75,-1.5,0,0,0,-1.25,1,0,0],(0.0,3.0))
368+
prob_ode_pleiades = ODEProblem(pleiades,[3.0,3.0,-1.0,-3.0,2.0,-2.0,2.0,3.0,-3.0,2.0,0,0,-4.0,4.0,0,0,0,0,0,1.75,-1.5,0,0,0,-1.25,1,0,0],(0.0,3.0))
369369

370370

371371
srand(100)

0 commit comments

Comments
 (0)