KernelDensityEstimate.jl
KernelDensityEstimate.jl copied to clipboard
only selecting first element during 1-product?
MWE
pts = randn(5)
p_ = *([kde!(pts);], addEntropy=false)
pts_ = getPoints(p_)
# results in 5 values all equal to pts[1]
@assert pts_[2] != pts[2] "points in product of [p;] should be identical to original points"
Likely something to do with: https://github.com/JuliaRobotics/KernelDensityEstimate.jl/blob/caab2b12a108ee1a41af9608bd602baa429e1ada/src/MSGibbs01.jl#L90
and used here: https://github.com/JuliaRobotics/KernelDensityEstimate.jl/blob/caab2b12a108ee1a41af9608bd602baa429e1ada/src/MSGibbs01.jl#L190
and closest to user: https://github.com/JuliaRobotics/KernelDensityEstimate.jl/blob/caab2b12a108ee1a41af9608bd602baa429e1ada/src/MSGibbs01.jl#L422