From 5a88c9da13b7cc5638123ee38d2e6733a8b54ba9 Mon Sep 17 00:00:00 2001 From: Jutho Date: Fri, 5 Jan 2024 22:35:08 +0100 Subject: [PATCH] small fix --- src/spaces/generalspace.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()