diff --git a/src/metric.jl b/src/metric.jl index a43cc0bb..e80515b8 100644 --- a/src/metric.jl +++ b/src/metric.jl @@ -139,5 +139,5 @@ Base.rand( kinetic::AbstractKinetic, θ, ) = _rand(rng, metric, kinetic) -Base.rand(metric::AbstractMetric, kinetic::AbstractKinetic, _θ) = +Base.rand(metric::AbstractMetric, kinetic::AbstractKinetic, θ) = rand(GLOBAL_RNG, metric, kinetic)