Skip to content

Commit 78ed034

Browse files
committed
small doc changes
1 parent 28e322d commit 78ed034

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/lib/tensors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ blocks
118118

119119
To access the data associated with a specific fusion tree pair, you can use:
120120
```@docs
121-
Base.getindex(::TensorMap{T,S,N₁,N₂}, ::FusionTree{I,N₁}, ::FusionTree{I,N₂}) where {T,S,N₁,N₂,I<:Sector}
122-
Base.setindex!(::TensorMap{T,S,N₁,N₂}, ::Any, ::FusionTree{I,N₁}, ::FusionTree{I,N₂}) where {T,S,N₁,N₂,I<:Sector}
121+
Base.getindex(::AbstractTensorMap, ::FusionTree, ::FusionTree)
122+
Base.setindex!(::AbstractTensorMap, ::Any, ::FusionTree, ::FusionTree)
123123
```
124124

125125
For a tensor `t` with `FusionType(sectortype(t)) isa UniqueFusion`, fusion trees are
126126
completely determined by the outcoming sectors, and the data can be accessed in a more
127127
straightforward way:
128128
```@docs
129-
Base.getindex(::TensorMap, ::Tuple{I,Vararg{I}}) where {I<:Sector}
129+
Base.getindex(::AbstractTensorMap, ::Tuple{I,Vararg{I}}) where {I<:Sector}
130130
```
131131

132132
For tensor `t` with `sectortype(t) == Trivial`, the data can be accessed and manipulated

0 commit comments

Comments
 (0)