Skip to content

Commit 09b39ed

Browse files
authored
Update src/ManifoldSampling.jl
1 parent 68c9066 commit 09b39ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ManifoldSampling.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function sampleTangent(x::ManifoldKernelDensity, p = mean(x))
2323
end
2424

2525
# Sampling Distributions
26+
# assumes M is a group and will break for Riemannian, but leaving that enhancement as TODO
2627
function sampleTangent(M::AbstractManifold, z::Distribution, p = getPointIdentity(M), basis::AbstractBasis = DefaultOrthogonalBasis())
2728
return get_vector(M, p, rand(z), basis)
2829
end

0 commit comments

Comments
 (0)