diff --git a/docs/Project.toml b/docs/Project.toml index 1a82e485c..f62ef73aa 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -30,7 +30,7 @@ Documenter = "1" DocumenterCitations = "1" IncompleteLU = "0.2" LinearSolve = "2" -ModelingToolkit = "8" +ModelingToolkit = "8, 9" NonlinearSolve = "3" OrdinaryDiffEq = "6" Plots = "1" diff --git a/docs/src/basics/diagnostics_api.md b/docs/src/basics/diagnostics_api.md index 7da29c1f7..c8b207544 100644 --- a/docs/src/basics/diagnostics_api.md +++ b/docs/src/basics/diagnostics_api.md @@ -34,7 +34,7 @@ using ModelingToolkit, NonlinearSolve # Define a nonlinear system eqs = [0 ~ σ * (y - x), 0 ~ x * (ρ - z) - y, 0 ~ x * y - β * z] -@named ns = NonlinearSystem(eqs, [x, y, z], [σ, ρ, β]) +@mtkbuild ns = NonlinearSystem(eqs, [x, y, z], [σ, ρ, β]) u0 = [x => 1.0, y => 0.0, z => 0.0] diff --git a/docs/src/tutorials/modelingtoolkit.md b/docs/src/tutorials/modelingtoolkit.md index 845b727b7..87b0a4405 100644 --- a/docs/src/tutorials/modelingtoolkit.md +++ b/docs/src/tutorials/modelingtoolkit.md @@ -13,7 +13,7 @@ using ModelingToolkit, NonlinearSolve # Define a nonlinear system eqs = [0 ~ σ * (y - x), 0 ~ x * (ρ - z) - y, 0 ~ x * y - β * z] -@named ns = NonlinearSystem(eqs, [x, y, z], [σ, ρ, β]) +@mtkbuild ns = NonlinearSystem(eqs, [x, y, z], [σ, ρ, β]) u0 = [x => 1.0, y => 0.0, z => 0.0]