Skip to content

Possible bug in Resampler#148

Open
nzqo wants to merge 2 commits into
QInfer:masterfrom
nzqo:master
Open

Possible bug in Resampler#148
nzqo wants to merge 2 commits into
QInfer:masterfrom
nzqo:master

Conversation

@nzqo

@nzqo nzqo commented Sep 4, 2018

Copy link
Copy Markdown

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
Copy Markdown

Coverage Status

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

@cgranade

Copy link
Copy Markdown
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