Skip to content

Commit

Permalink
Remove @named explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa authored Sep 14, 2023
1 parent da5fa87 commit 6fad3bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/src/basics/MTKModel_Connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6fad3bb

Please sign in to comment.