Skip to content

Commit

Permalink
Update src/metric.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai authored Jul 8, 2024
1 parent ad2ad2c commit 920b409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@ Base.rand(
rng::AbstractVector{<:AbstractRNG},
metric::AbstractMetric,
kinetic::AbstractKinetic,
θ,
θ::AbstractVecOrMat,
) = rand(rng, metric, kinetic)
Base.rand(metric::AbstractMetric, kinetic::AbstractKinetic, θ::AbstractVecOrMat) = rand(metric, kinetic)

0 comments on commit 920b409

Please sign in to comment.