Skip to content

Commit

Permalink
Update src/metric.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Hong Ge <[email protected]>
  • Loading branch information
xukai92 and yebai authored Jul 5, 2024
1 parent 1d75675 commit f4976db
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 @@ -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)

0 comments on commit f4976db

Please sign in to comment.