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 10, 2024
1 parent 3bc7efe commit 4f7d44e
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 @@ -129,7 +129,7 @@ function _rand(
return r
end

# TODO The rand interface should be updated as "rand from momentum distribution + optional affine transformation by metric"
# TODO (kai) The rand interface should be updated as "rand from momentum distribution + optional affine transformation by metric"
Base.rand(rng::AbstractRNG, metric::AbstractMetric, kinetic::AbstractKinetic) =
_rand(rng, metric, kinetic) # this disambiguity is required by Random.rand
Base.rand(
Expand Down

0 comments on commit 4f7d44e

Please sign in to comment.