Skip to content

Commit 64f1e39

Browse files
committed
up
1 parent 6f73003 commit 64f1e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/inverse_problems/examples/ode_fitting_oscillation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function optimise_p(pinit, tend)
5656
newprob = remake(prob; tspan = (0.0, tend), p = p)
5757
sol = Array(solve(newprob, Rosenbrock23(); saveat = newtimes))
5858
loss = sum(abs2, sol .- sample_vals[:, 1:size(sol,2)])
59-
return loss, sol
59+
return loss
6060
end
6161
6262
# optimize for the parameters that minimize the loss

0 commit comments

Comments
 (0)