Skip to content

Commit 89dcf9b

Browse files
Merge pull request #137 from ErikQQY/qqy/bvp_nlprob_6
Fix parameters in prob_bvp_nonlinear_6
2 parents 2898045 + c349215 commit 89dcf9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/BVProblemLibrary/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "BVProblemLibrary"
22
uuid = "ded0fc24-dfea-4565-b1d9-79c027d14d84"
3-
version = "0.1.5"
3+
version = "0.1.6"
44

55
[deps]
66
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

lib/BVProblemLibrary/src/nonlinear.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ prob_bvp_nonlinear_5 = BVProblem(prob_bvp_nonlinear_5_function,
303303
γ = 1.4
304304
A(t) = 1 + t^2
305305
function prob_bvp_nonlinear_6_f(t, u1, u2, p)
306-
((1 + p) / 2 - p * 2 * t) * u1 * u2 - u2 / u1 - 2 * t / A(t) * (1 - (p - 1) / 2 * u1^2)
306+
((1 + γ) / 2 - p * 2 * t) * u1 * u2 - u2 / u1 - 2 * t / A(t) * (1 - (γ - 1) / 2 * u1^2)
307307
end
308308
function prob_bvp_nonlinear_6_f!(du, u, p, t)
309309
du[1] = u[2]
@@ -354,7 +354,7 @@ No analytical solution
354354
[Reference](https://archimede.uniba.it/~bvpsolvers/testsetbvpsolvers/?page_id=247)
355355
"""
356356
prob_bvp_nonlinear_6 = BVProblem(prob_bvp_nonlinear_6_function,
357-
[1.0, 0.0],
357+
[1.0, 1.0],
358358
prob_bvp_nonlinear_6_tspan,
359359
λ)
360360

0 commit comments

Comments
 (0)