Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 437080a

Browse files
committed
Add missing docstring for union
1 parent bd3c3c4 commit 437080a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/processes/union.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ struct UnionProcess{P₁<:PointProcess,P₂<:PointProcess} <: PointProcess
1212
p₂::P₂
1313
end
1414

15+
"""
16+
p₁ ∪ p₂
17+
18+
Return the union of point processes `p₁` and `p₂`.
19+
"""
1520
Base.union(p₁::PointProcess, p₂::PointProcess) = UnionProcess(p₁, p₂)
1621

1722
ishomogeneous(p::UnionProcess) = ishomogeneous(p.p₁) && ishomogeneous(p.p₂)

0 commit comments

Comments
 (0)