diff --git a/src/spaces/generalspace.jl b/src/spaces/generalspace.jl index d75727a8..cee69708 100644 --- a/src/spaces/generalspace.jl +++ b/src/spaces/generalspace.jl @@ -30,7 +30,7 @@ isconj(V::GeneralSpace) = V.conj Base.axes(V::GeneralSpace, ::Trivial=Trivial()) = Base.OneTo(dim(V)) hassector(V::GeneralSpace, ::Trivial) = dim(V) != 0 sectors(V::GeneralSpace) = OneOrNoneIterator(dim(V) != 0, Trivial()) -sectortype(::Type{GeneralSpace}) = Trivial +sectortype(::Type{<:GeneralSpace}) = Trivial field(::Type{GeneralSpace{𝕜}}) where {𝕜} = 𝕜 InnerProductStyle(::Type{<:GeneralSpace}) = NoInnerProduct()