JuliaRobotics / ApproxManifoldProducts.jl

Approximate the product between infinite functional objects on a manifold -- i.e. belief products
MIT License
12 stars 4 forks source link

no method matching calcProductGaussians... #303

Open Affie opened 3 weeks ago

Affie commented 3 weeks ago

Tests are currently broken with this error:

ERROR: MethodError: no method matching calcProductGaussians(::TranslationGroup{…}, ::Vector{…}, ::Nothing; dim::Int64, Λ_::Vector{…}, do_transport_correction::Bool)

Closest candidates are:
  calcProductGaussians(::AbstractManifold, ::Union{AbstractVector{P}, Tuple{Vararg{P, N}}}, ::Union{Tuple{Vararg{S, N}}, AbstractVector{S}}; dim, Λ_, weight, do_transport_correction) where {N, P, S<:(AbstractVector)}
   @ ApproxManifoldProducts ~/.julia/dev/ApproxManifoldProducts/src/CommonUtils.jl:192
  calcProductGaussians(::AbstractManifold, ::Union{Tuple{Vararg{P, N}}, AbstractVector{P}}, ::Union{Tuple{Vararg{S, N}}, AbstractVector{S}}; μ0, Λ_, weight, do_transport_correction) where {N, P<:AbstractArray, S<:(AbstractMatrix{<:Real})} got unsupported keyword argument "dim"
   @ ApproxManifoldProducts ~/.julia/dev/ApproxManifoldProducts/src/CommonUtils.jl:151
  calcProductGaussians(::AbstractManifold, ::Union{Tuple{Vararg{K, N}}, AbstractVector{K}}; μ0, weight, do_transport_correction) where {N, K<:ApproxManifoldProducts.MvNormalKernel} got unsupported keyword arguments "dim", "Λ_"
   @ ApproxManifoldProducts ~/.julia/dev/ApproxManifoldProducts/src/CommonUtils.jl:216

Stacktrace:
 [1] calcProductGaussians(M::TranslationGroup{…}, μ_::Vector{…}, Σ_::Vector{…}; dim::Int64, Λ_::Vector{…}, weight::Float64, do_transport_correction::Bool)
   @ ApproxManifoldProducts ~/.julia/dev/ApproxManifoldProducts/src/CommonUtils.jl:192
 [2] calcProductGaussians(M::TranslationGroup{…}, μ_::Vector{…}, Σ_::Vector{…})
   @ ApproxManifoldProducts ~/.julia/dev/ApproxManifoldProducts/src/CommonUtils.jl:192
 [3] top-level scope
   @ REPL[9]:1
Some type information was truncated. Use `show(err)` to see complete types.