Skip to content

Commit

Permalink
Remove a method.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Sep 22, 2023
1 parent 7d05dc2 commit caf850e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ManifoldsBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -855,9 +855,6 @@ Optionally a random number generator `rng` to be used can be specified. An optio
"""
Random.rand(M::AbstractManifold)

# unresolvable ambiguity but this would be nice to have
#allocate_result(M::AbstractManifold, ::typeof(rand), p) = zero_vector(M, p)

function Random.rand(M::AbstractManifold, d::Integer; kwargs...)
return [rand(M; kwargs...) for _ in 1:d]
end
Expand Down

0 comments on commit caf850e

Please sign in to comment.