Skip to content

Commit ed2bd2e

Browse files
lkdvoskshyatt
andcommitted
add storagetype(::QP)
Co-authored-by: Katharine Hyatt <khyatt@flatironinstitute.org>
1 parent ad70f8c commit ed2bd2e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/states/quasiparticle_state.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ GeometryStyle(::Type{<:QP{S, T1, T2}}) where {S, T1, T2} = GeometryStyle(S)
216216

217217
TensorKit.spacetype(::Union{QP{S}, Type{<:QP{S}}}) where {S} = spacetype(S)
218218
TensorKit.sectortype(::Union{QP{S}, Type{<:QP{S}}}) where {S} = sectortype(S)
219+
TensorKit.storagetype(::Type{<:QP{S, T1, T2}}) where {S, T1, T2} = storagetype(T2)
219220

220221
physicalspace(state::QP, i::Int) = physicalspace(state.left_gs, i)
221222
physicalspace(state::QP) = physicalspace(state.left_gs)

0 commit comments

Comments
 (0)