Skip to content

Commit c36c429

Browse files
Merge pull request #1327 from hurak/master
Corrected the `name` vs `@named` problem in the tutorial
2 parents fbb9325 + ef824e4 commit c36c429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ again are just algebraic relations:
211211
connections = [ fol_1.f ~ 1.5,
212212
fol_2.f ~ fol_1.x ]
213213

214-
@named connected = compose(ODESystem(connections), fol_1, fol_2)
214+
connected = compose(ODESystem(connections,name=:connected), fol_1, fol_2)
215215
# Model connected with 5 equations
216216
# States (5):
217217
# fol_1₊f(t)

0 commit comments

Comments
 (0)