Skip to content

Commit

Permalink
Merge pull request #254 from JuliaRobotics/master
Browse files Browse the repository at this point in the history
v0.8.2-rc1
  • Loading branch information
Affie committed Oct 11, 2023
2 parents 9d83875 + ef99f52 commit 25e489c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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"
Expand Down
8 changes: 8 additions & 0 deletions src/Interface.jl
Expand Up @@ -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)
Expand Down

0 comments on commit 25e489c

Please sign in to comment.