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 behavior when tqdm missing #1

Merged
merged 1 commit into from
Sep 19, 2018
Merged

Conversation

eteq
Copy link
Contributor

@eteq eteq commented May 11, 2018

I noticed some confusing behavior when trying to run the NUTS sampler in an environment that does not have tqdm. Because the "fallback" tqdm function was passing through the args instead of just the first arg, the sampler was stopping early (basically the same as just executing 1 iteration/mc step, I think). This 3-character change seems to fix it.

@dfm dfm merged commit 154a9f3 into dfm:master Sep 19, 2018
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.

None yet

2 participants