Skip to content

Commit c7afa63

Browse files
committed
Trim promote_storagetype
1 parent f32c58b commit c7afa63

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/tensors/braidingtensor.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,6 @@ end
8181
storagetype(::Type{BraidingTensor{T, S, A}}) where {T, S, A} = A
8282
space(b::BraidingTensor) = b.adjoint ? b.V1 b.V2 b.V2 b.V1 : b.V2 b.V1 b.V1 b.V2
8383

84-
promote_storagetype(::Type{B}, ::Type{T}) where {B <: BraidingTensor, T <: AbstractTensorMap} =
85-
promote_storagetype(storagetype(B), storagetype(T))
86-
promote_storagetype(::Type{T}, ::Type{B}) where {B <: BraidingTensor, T <: AbstractTensorMap} =
87-
promote_storagetype(storagetype(B), storagetype(T))
88-
promote_storagetype(::Type{BA}, ::Type{BB}) where {BA <: BraidingTensor, BB <: BraidingTensor} =
89-
promote_storagetype(storagetype(BA), storagetype(BB))
90-
9184
function Base.getindex(b::BraidingTensor)
9285
sectortype(b) === Trivial || throw(SectorMismatch())
9386
(V1, V2) = domain(b)

0 commit comments

Comments
 (0)