From caae2ae9542cf57ee2400e52decde5e162f000f0 Mon Sep 17 00:00:00 2001 From: dehann Date: Mon, 19 Jul 2021 20:30:20 -0400 Subject: [PATCH 1/2] fixes found downstream w TranslationGroup --- src/API.jl | 2 +- src/ApproxManifoldProducts.jl | 3 +-- src/Legacy.jl | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/API.jl b/src/API.jl index 1994c6b..b20d46f 100644 --- a/src/API.jl +++ b/src/API.jl @@ -64,7 +64,7 @@ function manifoldProduct( ff::AbstractVector{<:ManifoldKernelDensity}, glbs.recordChoosen = recordLabels # TODO DEPRECATE ::NTuple{Symbol} approach - manif = convert(Tuple,M) #[partialDimsWorkaround] + manif = convert(Tuple, mani) #[partialDimsWorkaround] addopT, diffopT, getManiMu, _ = buildHybridManifoldCallbacks(manif) diff --git a/src/ApproxManifoldProducts.jl b/src/ApproxManifoldProducts.jl index db73945..7b9b627 100644 --- a/src/ApproxManifoldProducts.jl +++ b/src/ApproxManifoldProducts.jl @@ -1,9 +1,8 @@ module ApproxManifoldProducts -using Base: ident_cmp using Reexport @reexport using KernelDensityEstimate -@reexport using TransformUtils +@reexport using TransformUtils # likely to be deprecated using Random import ManifoldsBase diff --git a/src/Legacy.jl b/src/Legacy.jl index fa57041..b00367c 100644 --- a/src/Legacy.jl +++ b/src/Legacy.jl @@ -51,6 +51,7 @@ end _MtoSymbol(::Euclidean{Tuple{1}}) = :Euclid _MtoSymbol(::Circle) = :Circular Base.convert(::Type{<:Tuple}, M::ProductManifold) = _MtoSymbol.(M.manifolds) +Base.convert(::Type{<:Tuple}, M::TranslationGroup) = tuple([:Euclid for i in 1:manifold_dimension(M)]...) Base.convert(::Type{<:Tuple}, ::Type{<: typeof(Euclid)}) = (:Euclid,) Base.convert(::Type{<:Tuple}, ::Type{<: typeof(Euclid2)}) = (:Euclid,:Euclid) From a94e11b4584065cda58b8ac36aac6eda818cf35c Mon Sep 17 00:00:00 2001 From: dehann Date: Mon, 19 Jul 2021 20:30:52 -0400 Subject: [PATCH 2/2] bump v0.4.7 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 0292efd..8bd9ca1 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ApproxManifoldProducts" uuid = "9bbbb610-88a1-53cd-9763-118ce10c1f89" keywords = ["MM-iSAMv2", "SLAM", "inference", "sum-product", "belief-propagation", "nonparametric", "manifolds", "functional"] -version = "0.4.6" +version = "0.4.7" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"