Skip to content

Commit

Permalink
Merge pull request #35 from SciML/smc/docs
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
SebastianM-C authored Aug 13, 2024
2 parents 5797dcb + fde09eb commit 4d21485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/friction.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ res = solve(op, Adam(5e-3); maxiters = 10000, callback = cb)
We now have a trained neural network! We can check whether running the simulation of the model embedded with the neural network matches the data or not.

```@example friction
res_p = SciMLStructures.replace(Tunable(), prob.p, res)
res_p = SciMLStructures.replace(Tunable(), prob.p, res.u)
res_prob = remake(prob, p = res_p)
res_sol = solve(res_prob, Rodas4(), saveat = sol_ref.t)
@test first.(sol_ref.u)≈first.(res_sol.u) rtol=1e-3 #hide
Expand Down

0 comments on commit 4d21485

Please sign in to comment.