Skip to content

Commit

Permalink
Merge pull request #128 from ErikQQY/qqy/fix_13_17
Browse files Browse the repository at this point in the history
Fix 13th and 17th BVP test problems
  • Loading branch information
ChrisRackauckas authored Mar 30, 2024
2 parents 85d68c0 + a10c9a0 commit 5ac7bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/BVProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "BVProblemLibrary"
uuid = "ded0fc24-dfea-4565-b1d9-79c027d14d84"
version = "0.1.4"
version = "0.1.5"

[deps]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Expand Down
4 changes: 2 additions & 2 deletions lib/BVProblemLibrary/src/linear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ function prob_bvp_linear_13_bca!(res_a, u_a, p)
res_a[1] = u_a[1]
end
function prob_bvp_linear_13_bcb!(res_b, u_b, p)
res_b[1] = u_b[1] + 1
res_b[1] = u_b[1] + 1 - exp(-2 / sqrt(p))
end
prob_bvp_linear_13_function = BVPFunction(
prob_bvp_linear_13_f!, (prob_bvp_linear_13_bca!, prob_bvp_linear_13_bcb!),
Expand Down Expand Up @@ -1019,7 +1019,7 @@ prob_bvp_linear_16 = BVProblem(prob_bvp_linear_16_function,
################### linear_bvp17 ############################
function prob_bvp_linear_17_analytic(u, λ, t)
[t / sqrt+ t^2),
- t^2) /+ t^2)^2]
1 / sqrt+ t^2) - t^2 /+ t^2)^(3 / 2)]
end
function prob_bvp_linear_17_f!(du, u, p, t)
du[1] = u[2]
Expand Down

0 comments on commit 5ac7bca

Please sign in to comment.