Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
[compat]
Arpack = "0.5"
Dierckx = "0.5"
DifferentialEquations = "7.15"
DifferentialEquations = "7.15, 8"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both versions are still supported.

FFTW = "1.8"
FileIO = "1.16"
GraphRecipes = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ These codes are for instructional purposes. They are not recommended for applica
| Integration | [QuadGK](https://juliamath.github.io/QuadGK.jl/stable/) |
| Spline | [Dierckx](https://github.com/kbarbary/Dierckx.jl) |
| [Initial-value problem](https://diffeq.sciml.ai/latest/tutorials/ode_example/#ode_example) | [DifferentialEquations](https://diffeq.sciml.ai/latest/) |
| [Boundary-value problem](https://diffeq.sciml.ai/latest/tutorials/bvp_example/#Boundary-Value-Problems) | [DifferentialEquations](https://diffeq.sciml.ai/latest/) |
| [Boundary-value problem](https://diffeq.sciml.ai/latest/tutorials/bvp_example/#Boundary-Value-Problems) | [BoundaryValueDiffEq](https://diffeq.sciml.ai/latest/) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other BVP docs are sub-docs here, so the full thing is better. Therefore this is good.

| Method of lines | [MethodOfLines](https://methodoflines.sciml.ai/dev/) (still under development) |


Expand Down
2 changes: 1 addition & 1 deletion src/chapter10.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function shoot(ϕ,xspan,g₁,g₂,init,tol=1e-5)
IVP = ODEProblem(shootivp,s,float.(xspan))
sol = solve(IVP,Tsit5(),abstol=tol/10,reltol=tol/10)
x = sol.t; y = sol;
return [g₁(s...),g₂(y[end]...)]
return [g₁(s...),g₂(y.u[end]...)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably shouldn't splat for performance, but this at least matches before.

end

# Find the unknown quantity at x=a by rootfinding.
Expand Down
Loading