Skip to content

Commit c46c1a2

Browse files
Jutholkdvos
andauthored
Apply suggestions from code review
Co-authored-by: Lukas Devos <[email protected]>
1 parent 73af144 commit c46c1a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/spaces/homspace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
HomSpace(codomain::CompositeSpace{S}, domain::CompositeSpace{S}) where {S<:ElementarySpace}
44
55
Represents the linear space of morphisms with codomain of type `P1` and domain of type `P2`.
6-
Note that `HomSpace`` is not a subtype of [`VectorSpace`](@ref), i.e. we restrict the latter
6+
Note that `HomSpace` is not a subtype of [`VectorSpace`](@ref), i.e. we restrict the latter
77
to denote categories and their objects, and keep `HomSpace` distinct.
88
"""
99
struct HomSpace{S <: ElementarySpace, P1 <: CompositeSpace{S}, P2 <: CompositeSpace{S}}

src/spaces/productspace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
struct ProductSpace{S<:ElementarySpace, N} <: CompositeSpace{S}
33
ProductSpace(spaces::NTuple{N, S}) where {S<:ElementarySpace, N}
44
5-
A `ProductSpace` is a tensor product space of `N` vector spaces of type `S<:ElementarySpace`.
5+
A `ProductSpace` is a tensor product space of `N` vector spaces of type `S <: ElementarySpace`.
66
Only tensor products between [`ElementarySpace`](@ref) objects of the same type are allowed.
77
"""
88
struct ProductSpace{S <: ElementarySpace, N} <: CompositeSpace{S}

0 commit comments

Comments
 (0)