Skip to content

Commit

Permalink
more Manifold convert
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Mar 11, 2021
1 parent c1ce37c commit 4262e4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{ContinuousEuclid{1
Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{ContinuousEuclid{2}}) = AMP.Euclid2
Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{ContinuousEuclid{3}}) = AMP.Euclid3
Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{ContinuousEuclid{4}}) = AMP.Euclid4

Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{<:Sphere1}) = AMP.Sphere1

Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{<:Sphere1Sphere1}) = AMP.Sphere1
Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{<:EuclidDistance}) = AMP.Euclid
Base.convert(::Type{<:ManifoldsBase.Manifold}, ::InstanceType{<:LinearRelative{N}}) where N = convert(Manifold, ContinuousEuclid{N})


##==============================================================================
## Deprecate code below before v0.22
Expand Down

0 comments on commit 4262e4d

Please sign in to comment.