From 6fad3bb480299c19c62f5d30e54782d395d48800 Mon Sep 17 00:00:00 2001 From: Yingbo Ma Date: Thu, 14 Sep 2023 10:47:35 -0400 Subject: [PATCH] Remove `@named` explanation --- docs/src/basics/MTKModel_Connector.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/src/basics/MTKModel_Connector.md b/docs/src/basics/MTKModel_Connector.md index 7fdcbf4db9..c20c1c959e 100644 --- a/docs/src/basics/MTKModel_Connector.md +++ b/docs/src/basics/MTKModel_Connector.md @@ -97,10 +97,6 @@ However, as `p2` isn't listed in the model definition, its default can't be modi ```julia julia> @named model_c1 = ModelC(; model_a.k1 = 1); -# or as - -julia> model_c2 = ModelC(; name = :model_c, model_a__k1 = 1); - ``` And as `k2` isn't listed in the sub-component definition of `ModelC`, its default value can't be modified by users.