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

Commit 5bf3e98

Browse files
committed
Improve comments in processes/poisson.jl
1 parent 0c2f8ce commit 5bf3e98

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/processes/poisson.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ struct DiscretizedSampling end
2121
default_sampling_algorithm(::PoissonProcess{<:Real}) = ProductSampling()
2222
default_sampling_algorithm(::PoissonProcess{<:Function}) = DiscretizedSampling()
2323

24-
# -----------------
25-
# homogeneous case
26-
# -----------------
24+
#------------------
25+
# HOMOGENEOUS CASE
26+
#------------------
2727
function rand_single(p::PoissonProcess{<:Real}, r::RectangleRegion{T,N},
2828
algo::ProductSampling) where {N,T}
2929
# region configuration
@@ -41,9 +41,9 @@ function rand_single(p::PoissonProcess{<:Real}, r::RectangleRegion{T,N},
4141
PointPattern(rand(U, n))
4242
end
4343

44-
# -------------------
45-
# inhomogeneous case
46-
# -------------------
44+
#--------------------
45+
# INHOMOGENEOUS CASE
46+
#--------------------
4747
function rand_single(p::PoissonProcess{<:Function}, r::RectangleRegion{T,N},
4848
algo::DiscretizedSampling) where {N,T}
4949
# discretize region

0 commit comments

Comments
 (0)