diff --git a/src/mstructures.jl b/src/mstructures.jl index e6ad6d9..d299a75 100644 --- a/src/mstructures.jl +++ b/src/mstructures.jl @@ -61,3 +61,7 @@ Base.@propagate_inbounds function Base.getindex( gh in basis(mstr) || throw(ProductNotWellDefined(i, j, "$g ยท $h = $gh")) return DiracDelta(gh) end + +Base.@propagate_inbounds function Base.getindex(::LazyMStructure{I,<:DiracBasis{T}}, x::T, y::T) where {I,T} + return StarAlgebras.DiracDelta(x * y) +end