Skip to content

only selecting first element during 1-product? #70

@dehann

Description

@dehann

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:

glb.particles[dim,j] = mean(glb.trees[j], glb.ind[j], dim)

and used here:

glb.calcmu[j] = glb.particles[dim,j] #[dim+glb.Ndim*(j-1)]

and closest to user:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions