Skip to content

Commit

Permalink
Update docs/src/getting_started/fit_simulation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Dec 25, 2023
1 parent 0026095 commit e9187f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/getting_started/fit_simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ More details about callbacks in Optimization.jl can be found
[here](https://docs.sciml.ai/Optimization/stable/API/solve/).

```@example odefit
function callback(_, l, sol)
function callback(p, l, sol)
display(l)
plt = plot(sol, ylim = (0, 6), label = ["Current x Prediction" "Current y Prediction"])
scatter!(plt, t_data, xy_data', label = ["x Data" "y Data"])
Expand Down

0 comments on commit e9187f5

Please sign in to comment.