Skip to content

Commit 3d83c4c

Browse files
one more tutorial simplification
1 parent 17a3b6a commit 3d83c4c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,8 @@ f_fun(t) = t >= 10 ? value_vector[end] : value_vector[Int(floor(t)) + 1]
243243
end
244244
end
245245
246-
@named fol_external_f = FOLExternalFunction()
247-
fol_external_f = complete(fol_external_f)
248-
prob = ODEProblem(structural_simplify(fol_external_f),
246+
@mtkbuild fol_external_f = FOLExternalFunction()
247+
prob = ODEProblem(fol_external_f,
249248
[fol_external_f.x => 0.0],
250249
(0.0, 10.0),
251250
[fol_external_f.τ => 0.75])

0 commit comments

Comments
 (0)