From e9187f55e7ee42efd5969b892a5d9cc73b09e784 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 24 Dec 2023 19:09:03 -0500 Subject: [PATCH] Update docs/src/getting_started/fit_simulation.md --- docs/src/getting_started/fit_simulation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/getting_started/fit_simulation.md b/docs/src/getting_started/fit_simulation.md index f2a70f72c04..7929c7115c0 100644 --- a/docs/src/getting_started/fit_simulation.md +++ b/docs/src/getting_started/fit_simulation.md @@ -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"])