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 31f7e0b commit bfcacdfCopy full SHA for bfcacdf
src/spaces/productspace.jl
@@ -234,7 +234,6 @@ end
234
Return a tensor product of zero spaces of type `S`, i.e. this is the unit object under the
235
tensor product operation, such that `V ⊗ one(V) == V`.
236
"""
237
-
238
Base.one(V::VectorSpace) = one(typeof(V))
239
Base.one(::Type{<:ProductSpace{S}}) where {S <: ElementarySpace} = ProductSpace{S, 0}(())
240
Base.one(::Type{S}) where {S <: ElementarySpace} = ProductSpace{S, 0}(())
0 commit comments