Skip to content

Commit

Permalink
don't plot in the callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 5, 2024
1 parent 4952ac7 commit aee2ca7
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 @@ -72,7 +72,7 @@ function loss_adjoint(θ)
end
l = loss_adjoint(θ)
cb = function (state, l; doplot = true)
cb = function (state, l; doplot = false)
println(l)
ps = ComponentArray(state.u, ax)
Expand Down

0 comments on commit aee2ca7

Please sign in to comment.