From 6e0a5c8ba99ea484cca3d3457870f081d6f491a3 Mon Sep 17 00:00:00 2001 From: Johannes Terblanche Date: Wed, 11 Oct 2023 15:35:20 +0200 Subject: [PATCH 1/2] setPointsMani! of array from point --- src/Interface.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Interface.jl b/src/Interface.jl index 013166e..8000671 100644 --- a/src/Interface.jl +++ b/src/Interface.jl @@ -141,6 +141,14 @@ function setPointsMani!(dest::AbstractArray{T}, src::AbstractArray{U}, destIdx, end end +function setPointsMani!(dest::AbstractArray{T}, src::AbstractArray{U}, destIdx) where {T <: AbstractArray, U <: Real} + if isbitstype(T) + dest[destIdx] = src + else + setPointsMani!(dest[destIdx], src) + end +end + #TODO ArrayPartition should work for now as it's an AbstractVector, but it won't remain mutable setPointsMani!(dest::AbstractVector, src::AbstractVector) = (dest .= src) From ef99f52cf774c4e344a778771724a98cfffbdf9f Mon Sep 17 00:00:00 2001 From: Johannes Terblanche <6612981+Affie@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:53:47 +0200 Subject: [PATCH 2/2] Update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index a21da1f..843aa57 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.8.1" +version = "0.8.2" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"