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

Fix bugs related in non-integer ratios with thin #21

Closed
wants to merge 2 commits into from

Conversation

paulthebaker
Copy link
Member

This fixes #20. Unfortunately, when isave / thin is not an integer sampler._writeToFile seems to write duplicate chain entries every isave // thin steps. I'm working on a fix to that, which is why this PR is a draft

In all cases sampler._chain is correct. It's the periodic writing to file, which is pretty arcane in its implementation that is the problem.

@paulthebaker paulthebaker requested a review from jellis18 August 18, 2021 20:05
@paulthebaker paulthebaker changed the title Ptb thinbug Fix bugs related in non-integer ratios with thin Aug 18, 2021
@vhaasteren vhaasteren self-requested a review May 10, 2023 06:36
@vhaasteren
Copy link
Member

vhaasteren commented May 10, 2023

Hi @paulthebaker, it seems it's been a while since there has been active development here, aside from version updates and things. I saw some activity in #10 by @kdolum as well. Do you have progress on this PR?

@kdolum
Copy link
Collaborator

kdolum commented Aug 25, 2023

The non-integer ratio issue is fixed in a more comprehensive way by #41, and other changes here were included in #41.

@kdolum
Copy link
Collaborator

kdolum commented Nov 17, 2023

Changes included in #41 and merged.

@kdolum kdolum closed this Nov 17, 2023
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.

Index error when number of samples is not a multiple of 10
3 participants