Skip to content

Commit a9b55c7

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 84401ac + 5752e4d commit a9b55c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ode/ode_simple_nonlinear_prob.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Usually solved on `[0,1e11]`
100100
prob_ode_rober = ODEProblem(rober,[1.0;0.0;0.0],(0.0,1e11),(0.04,3e7,1e4))
101101

102102
# Three Body
103-
const threebody_μ = parse(BigFloat,"0.012277471"); const threebody_μ′ = 1 - threebody_μ
103+
const threebody_μ = big(0.012277471); const threebody_μ′ = 1 - threebody_μ
104104

105105
threebody = (du,u,p,t) -> begin
106106
# 1 = y₁
@@ -130,10 +130,10 @@ D₂ &= ((y₁-μ′)^2+y₂^2)^{3/2} \\\\
130130
131131
From Hairer Norsett Wanner Solving Ordinary Differential Equations I - Nonstiff Problems Page 129
132132
133-
Usually solved on `t₀ = 0.0`; `T = parse(BigFloat,"17.0652165601579625588917206249")`
133+
Usually solved on `t₀ = 0.0`; `T = "17.0652165601579625588917206249"`
134134
Periodic with that setup.
135135
"""
136-
prob_ode_threebody = ODEProblem(threebody,[0.994, 0.0, 0.0, parse(BigFloat,"-2.00158510637908252240537862224")],(parse(BigFloat,"0.0"),parse(BigFloat,"17.0652165601579625588917206249")))
136+
prob_ode_threebody = ODEProblem(threebody,[0.994, 0.0, 0.0, big(-2.00158510637908252240537862224)],(big(0.0),big(17.0652165601579625588917206249)))
137137

138138
# Rigid Body Equations
139139

0 commit comments

Comments
 (0)