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

Error when using latest version of emcee package #1

Open
respiewak opened this issue Nov 15, 2019 · 0 comments
Open

Error when using latest version of emcee package #1

respiewak opened this issue Nov 15, 2019 · 0 comments

Comments

@respiewak
Copy link

The latest version of the emcee package (version 3.0.1) changed the output of emcee.EnsembleSampler.run_mcmc(), so the following line raises a ValueError:

        pos, prob, state = sampler.run_mcmc(p0, ninit)

This can possibly simply be fixed by adding a fourth variable: pos, prob, _, state = sample.run_mcmc(p0, ninit). I haven't checked if that accounts for all possible cases.

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

No branches or pull requests

1 participant