Skip to content

Commit

Permalink
Update docs/src/examples/optimal_control/optimal_control.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed May 16, 2024
1 parent 27249f2 commit 05fe73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/examples/optimal_control/optimal_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Now let's see what we received:

```@example neuraloptimalcontrol
l = loss_adjoint(res3.u)
cb(res, l)
cb(res3, l)
p = plot(solve(remake(prob, p = res3.u), Tsit5(), saveat = 0.01), ylim = (-6, 6), lw = 3)
plot!(p, ts, [first(first(ann([t], ComponentArray(res3.u, ax), st))) for t in ts],
label = "u(t)", lw = 3)
Expand Down

0 comments on commit 05fe73e

Please sign in to comment.