Skip to content

Commit

Permalink
DOC: Order of morphism names in chained call of incident.
Browse files Browse the repository at this point in the history
  • Loading branch information
epatters committed Oct 19, 2020
1 parent 50d9b78 commit 6bb97a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/categorical_algebra/CSetDataStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,14 @@ end
If the subpart is indexed, this takes constant time; otherwise, it takes linear
time. As with [`subpart`](@ref), both single and vectorized access, as well as
chained access, are supported.
chained access, are supported. Note that sequences of morphisms are supplied in
the usual left-to-right order, so that
```
incident(g, x, [:src, :vattr])
```
returns the list of all edges whose source vertex has vertex attribute `x`.
Note that when the subpart is indexed, this function returns a view of the
underlying index, which should not be mutated. To ensure that a fresh copy is
Expand Down

0 comments on commit 6bb97a7

Please sign in to comment.