Skip to content

Commit 9635362

Browse files
committed
Revert "use a function that's actually exported in dimension of GradedSpace"
This reverts commit a33d028.
1 parent 124def4 commit 9635362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spaces/gradedspace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ field(::Type{<:GradedSpace}) = ℂ
9292
InnerProductStyle(::Type{<:GradedSpace}) = EuclideanInnerProduct()
9393
function dim(V::GradedSpace{I}) where {I<:Sector}
9494
return reduce(+, dim(V, c) * dim(c) for c in sectors(V);
95-
init=zero(sectorscalartype(I)))
95+
init=zero(TensorKitSectors._Fscalartype(I)))
9696
end
9797
function dim(V::GradedSpace{I,<:AbstractDict}, c::I) where {I<:Sector}
9898
return get(V.dims, isdual(V) ? dual(c) : c, 0)

0 commit comments

Comments
 (0)