From 50711d735abc3fdce78073ec638d189793e7fdbe Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Thu, 22 Feb 2024 07:06:42 +0000 Subject: [PATCH 1/3] CompatHelper: bump compat for ModelingToolkit to 9 for package docs, (keep existing compat) --- docs/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" From 9fad71e18795f034c792e19de2f57f60ca2f1874 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 24 Feb 2024 09:04:56 -0500 Subject: [PATCH 2/3] Update modelingtoolkit.md --- docs/src/tutorials/modelingtoolkit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From fe891b625c75add19af17475eea007bc9dd8cde4 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 24 Feb 2024 09:34:09 -0500 Subject: [PATCH 3/3] Update diagnostics_api.md --- docs/src/basics/diagnostics_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]