@@ -336,28 +336,28 @@ function Base.oneunit(S::SumSpace{<:GradedSpace{<:BimoduleSector}})
336336end
337337
338338# oneunit for spaces whose elements all belong to the same sector
339- function rightoneunit (S:: GradedSpace{<:BimoduleSector} )
339+ function TensorKit . rightoneunit (S:: GradedSpace{<:BimoduleSector} )
340340 allequal (a. j for a in sectors (S)) ||
341341 throw (ArgumentError (" sectors of $S do not have the same rightone" ))
342342
343343 sector = rightone (first (sectors (S)))
344344 return spacetype (S)(sector => 1 )
345345end
346346
347- function rightoneunit (S:: SumSpace{<:GradedSpace{<:BimoduleSector}} )
347+ function TensorKit . rightoneunit (S:: SumSpace{<:GradedSpace{<:BimoduleSector}} )
348348 @assert ! isempty (S) " Cannot determine type of empty space"
349349 return SumSpace (rightoneunit (first (S. spaces)))
350350end
351351
352- function leftoneunit (S:: GradedSpace{<:BimoduleSector} )
352+ function TensorKit . leftoneunit (S:: GradedSpace{<:BimoduleSector} )
353353 allequal (a. i for a in sectors (S)) ||
354354 throw (ArgumentError (" sectors of $S do not have the same leftone" ))
355355
356356 sector = leftone (first (sectors (S)))
357357 return spacetype (S)(sector => 1 )
358358end
359359
360- function leftoneunit (S:: SumSpace{<:GradedSpace{<:BimoduleSector}} )
360+ function TensorKit . leftoneunit (S:: SumSpace{<:GradedSpace{<:BimoduleSector}} )
361361 @assert ! isempty (S) " Cannot determine type of empty space"
362362 return SumSpace (leftoneunit (first (S. spaces)))
363363end
@@ -412,6 +412,6 @@ function TensorKit.FusionTree(uncoupled::Tuple{<:I,Vararg{I}}) where {I<:Bimodul
412412end
413413
414414# this one might also be overkill, since `FusionTreeIterator`s don't check whether the fusion is allowed
415- function fusiontrees (uncoupled:: Tuple{I,Vararg{I}} ) where {I<: BimoduleSector }
415+ function TensorKit . fusiontrees (uncoupled:: Tuple{I,Vararg{I}} ) where {I<: BimoduleSector }
416416 return throw (ArgumentError (" coupled sector must be provided for $I fusion" ))
417417end
0 commit comments