Skip to content

Commit 3a987f2

Browse files
TorkelEisaacsas
andcommitted
Update docs/src/inverse_problems/optimization_ode_param_fitting.md
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 3e03186 commit 3a987f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/inverse_problems/optimization_ode_param_fitting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ Next, we will use DiffEqParamEstim.jl to build a loss function to measure how we
3939
using DiffEqParamEstim, Optimization
4040
p_dummy = [:kB => 0.0, :kD => 0.0, :kP => 0.0]
4141
oprob = ODEProblem(rn, u0, (0.0, 10.0), p_dummy)
42-
loss_function = build_loss_objective(oprob, Tsit5(), L2Loss(data_ts, data_vals), Optimization.AutoForwardDiff(); maxiters=10000, verbose=false, save_idxs=4)
42+
loss_function = build_loss_objective(oprob, Tsit5(), L2Loss(data_ts, data_vals), Optimization.AutoForwardDiff();
43+
maxiters=10000, verbose=false, save_idxs=4)
4344
nothing # hide
4445
```
4546
To `build_loss_objective` we provide the following arguments:

0 commit comments

Comments
 (0)