Skip to content

Commit

Permalink
Merge pull request #2258 from SciML/YingboMa-patch-1
Browse files Browse the repository at this point in the history
Remove `@named` explanation
  • Loading branch information
YingboMa authored Sep 14, 2023
2 parents da5fa87 + 6fad3bb commit 5fff919
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 5fff919

Please sign in to comment.