diff --git a/src/spaces/productspace.jl b/src/spaces/productspace.jl index 77e08177..07b08076 100644 --- a/src/spaces/productspace.jl +++ b/src/spaces/productspace.jl @@ -26,6 +26,8 @@ function ProductSpace(space1::ElementarySpace, rspaces::Vararg{ElementarySpace}) return ProductSpace((space1, rspaces...)) end +ProductSpace(P::ProductSpace) = P + # constructors with conversion behaviour function ProductSpace{S,N}(V::Vararg{ElementarySpace,N}) where {S<:ElementarySpace,N} return ProductSpace{S,N}(V)