From fe891b625c75add19af17475eea007bc9dd8cde4 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 24 Feb 2024 09:34:09 -0500 Subject: [PATCH] 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]