We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b03e26 commit 3bb57a4Copy full SHA for 3bb57a4
1 file changed
src/spaces/gradedspace.jl
@@ -170,8 +170,7 @@ end
170
function infimum(V₁::GradedSpace{I}, V₂::GradedSpace{I}) where {I<:Sector}
171
if V₁.dual == V₂.dual
172
typeof(V₁)(c => min(dim(V₁, c), dim(V₂, c))
173
- for c in
174
- union(sectors(V₁), sectors(V₂)), dual in V₁.dual)
+ for c in union(sectors(V₁), sectors(V₂)); dual=V₁.dual)
175
else
176
throw(SpaceMismatch("Infimum of space and dual space does not exist"))
177
end
@@ -180,8 +179,7 @@ end
180
179
function supremum(V₁::GradedSpace{I}, V₂::GradedSpace{I}) where {I<:Sector}
181
182
typeof(V₁)(c => max(dim(V₁, c), dim(V₂, c))
183
184
185
186
throw(SpaceMismatch("Supremum of space and dual space does not exist"))
187
0 commit comments