Skip to content

Commit

Permalink
Update docs/src/tutorials/bvp_example.md
Browse files Browse the repository at this point in the history
Co-authored-by: Avik Pal <[email protected]>
  • Loading branch information
ChrisRackauckas and avik-pal authored Oct 1, 2023
1 parent 37ca8ea commit 8caa596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/bvp_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ plot(sol3)
Defining a similar problem as `TwoPointBVProblem` is shown in the following example.

```@example bvp
function bc2!((resid_a, resid_b), (u_a, u_b), p, t) # u[1] is the beginning of the time span, and u[end] is the ending
function bc2!((resid_a, resid_b), (u_a, u_b), p) # u[1] is the beginning of the time span, and u[end] is the ending
resid_a[1] = u_a[1] + pi / 2 # the solution at the beginning of the time span should be -pi/2
resid_b[2] = u_b[1] - pi / 2 # the solution at the end of the time span should be pi/2
end
Expand Down

0 comments on commit 8caa596

Please sign in to comment.