Skip to content

Commit

Permalink
Merge pull request #2307 from SciML/tuts
Browse files Browse the repository at this point in the history
one more tutorial simplification
  • Loading branch information
YingboMa authored Oct 8, 2023
2 parents 0bcdee8 + 3d83c4c commit 379161f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/src/tutorials/ode_modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,8 @@ f_fun(t) = t >= 10 ? value_vector[end] : value_vector[Int(floor(t)) + 1]
end
end
@named fol_external_f = FOLExternalFunction()
fol_external_f = complete(fol_external_f)
prob = ODEProblem(structural_simplify(fol_external_f),
@mtkbuild fol_external_f = FOLExternalFunction()
prob = ODEProblem(fol_external_f,
[fol_external_f.x => 0.0],
(0.0, 10.0),
[fol_external_f.τ => 0.75])
Expand Down

0 comments on commit 379161f

Please sign in to comment.