Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in Resampler #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Possible bug in Resampler #148

wants to merge 2 commits into from

Conversation

nzqo
Copy link

@nzqo nzqo commented Sep 4, 2018

Considering the mus are not ordered, should one not use the mask to specify the remaining kernel locations around which there is still sampling to be done? In the simplest case, assume that only the last particle location in mu yields an invalid particle location when drawing, then in the current situation the algorithm would resample from a gaussian centered around the first location mu[0], not the last.

Edit: tried to add a fix

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.631% when pulling 7fc8260 on LiftingBanana:master into 8170c84 on QInfer:master.

@cgranade
Copy link
Collaborator

My apologies for the delay, I've been on travel for a bit. Thanks for pointing out this issue, in any case. I'd like to investigate a bit further before I say something wrong, but I think there may indeed be a bit of a problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants