We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacafc1 commit 50e408dCopy full SHA for 50e408d
src/spaces/gradedspace.jl
@@ -91,7 +91,7 @@ Base.hash(V::GradedSpace, h::UInt) = hash(V.dual, hash(V.dims, h))
91
field(::Type{<:GradedSpace}) = ℂ
92
InnerProductStyle(::Type{<:GradedSpace}) = EuclideanInnerProduct()
93
function dim(V::GradedSpace)
94
- T = Base.promote_op(*, Int, real(sectorscalartype(sectortype(V))))
+ T = Base.promote_op(*, Int, real(sectorscalartype(sectortype(V)))) #FIXME: doesn't work
95
return reduce(+, dim(V, c) * dim(c) for c in sectors(V);
96
init=zero(T))
97
end
0 commit comments