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

Commit 258ca50

Browse files
authored
🤖 Format .jl files
1 parent 3f021c3 commit 258ca50

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/processes/binomial.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ end
1313

1414
ishomogeneous(p::BinomialProcess) = true
1515

16-
randsingle(rng::Random.AbstractRNG, p::BinomialProcess, g) =
17-
PointSet(sample(rng, g, HomogeneousSampling(p.n)))
16+
randsingle(rng::Random.AbstractRNG, p::BinomialProcess, g) = PointSet(sample(rng, g, HomogeneousSampling(p.n)))

src/processes/cluster.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ struct ClusterProcess{P<:PointProcess,F<:Function} <: PointProcess
2626
ofun::F
2727
end
2828

29-
ClusterProcess(p::PointProcess, o::PointProcess, gfun::Function) =
30-
ClusterProcess(p, parent -> rand(o, gfun(parent)))
29+
ClusterProcess(p::PointProcess, o::PointProcess, gfun::Function) = ClusterProcess(p, parent -> rand(o, gfun(parent)))
3130

3231
function randsingle(rng::Random.AbstractRNG, p::ClusterProcess, g)
3332
# retrieve parameters

0 commit comments

Comments
 (0)