From 1d75675784cef5da9e22df020a6955dd4bbdd8ba Mon Sep 17 00:00:00 2001 From: Kai Xu Date: Fri, 5 Jul 2024 16:16:53 -0400 Subject: [PATCH] Update src/metric.jl Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com> --- src/metric.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metric.jl b/src/metric.jl index dce1819b..a43cc0bb 100644 --- a/src/metric.jl +++ b/src/metric.jl @@ -137,7 +137,7 @@ Base.rand( rng::AbstractVector{<:AbstractRNG}, metric::AbstractMetric, kinetic::AbstractKinetic, - _θ, + θ, ) = _rand(rng, metric, kinetic) Base.rand(metric::AbstractMetric, kinetic::AbstractKinetic, _θ) = rand(GLOBAL_RNG, metric, kinetic)