Skip to content

Commit

Permalink
Fix convert(ProductSpace, V)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Sep 27, 2023
1 parent 681862c commit b2f8ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaces/productspace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,4 @@ Base.convert(::Type{S}, P::ProductSpace{S,0}) where {S<:ElementarySpace} = oneun
Base.convert(::Type{S}, P::ProductSpace{S}) where {S<:ElementarySpace} = fuse(P.spaces...)

# ElementarySpace to ProductSpace
Base.convert(::Type{<:ProductSpace{S}}, V::S) where {S<:ElementarySpace} = (V)
Base.convert(::Type{<:ProductSpace}, V::S) where {S<:ElementarySpace} = (V)

0 comments on commit b2f8ffd

Please sign in to comment.