Skip to content

Commit

Permalink
Merge branch 'mindistancesampling-ball' of https://github.com/JuliaGe…
Browse files Browse the repository at this point in the history
…ometry/Meshes.jl into mindistancesampling-ball
  • Loading branch information
JoshuaLampert committed Oct 25, 2024
2 parents 1ce8dc5 + 465590c commit 2af5729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sampling/mindistance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ MinDistanceSampling(α::T; ρ=T(0.65), δ=100, metric=Euclidean()) where {T} = M
_measure(d::Domain) = sum(measure, d)
_measure(d::Ball) = measure(d)

function sample(rng::AbstractRNG, d::Union{Domain, Ball}, method::MinDistanceSampling)
function sample(rng::AbstractRNG, d::Union{Domain,Ball}, method::MinDistanceSampling)
# retrieve parameters
α = method.α
ρ = method.ρ
Expand Down

0 comments on commit 2af5729

Please sign in to comment.