Skip to content

Commit e10b737

Browse files
committed
update docs to MTK v10
1 parent d1bae2d commit e10b737

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/src/tutorial.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -654,14 +654,14 @@ D = Differential(t)
654654
end
655655
end
656656

657-
@mtkbuild model = Roessler()
657+
@mtkcompile model = Roessler()
658658

659-
# this model can then be made into an `ODEProblem`:
659+
# this model can then be made into an `ODEProblem`.
660660

661-
prob = ODEProblem(model, [], (0.0, Inf))
661+
prob = ODEProblem(model, nothing, (0.0, Inf))
662662

663-
# (notice that because we specified initial values for all parameters and variables during
664-
# the model creation we do need to provide additional initial values, we give an empty vector instead)
663+
# We used `nothing` for the initialization container as all parameters and
664+
# state variables have been created with default values.
665665

666666
# Now, this problem can be made into a [`CoupledODEs`](@ref):
667667

@@ -731,6 +731,7 @@ current_parameter(roessler, :c)
731731
# isinplace(::DynamicalSystem)
732732
# successful_step
733733
# referrenced_sciml_model
734+
# named_variables
734735
# ```
735736

736737
# ## Learn more

0 commit comments

Comments
 (0)