-
Notifications
You must be signed in to change notification settings - Fork 4
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
random_polyagamma sometimes hangs in version 1.3.1 #102
Comments
Also, I would replace n = np.ones(len(psi), dtype='float64')
out = polyagamma.random_polyagamma(n, psi, random_state=random_state._bit_generator) to out = polyagamma.random_polyagamma(1, psi, random_state=random_state._bit_generator) |
@zoj613 thanks for the fast response and the tips! In Is there a |
Oh yeah, that was my mistake. The public |
I've confirmed that this bug is resolved with the |
Description of issue
The
random_polyagamma
function hangs without accepting aKeyboardInterrupt
with some inputs in version 1.3.1.Steps to reproduce:
Environment setup
On both OSX and Linux:
Run the following Python code, using the attached data. Execution hangs on the last line.
state_keys.txt
psi.txt
The text was updated successfully, but these errors were encountered: