Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Multi-threading does not work but easy fix #35

Open
Sanseviria opened this issue Feb 21, 2020 · 1 comment
Open

Multi-threading does not work but easy fix #35

Sanseviria opened this issue Feb 21, 2020 · 1 comment

Comments

@Sanseviria
Copy link

Hey,
this is a super useful package!
I needed to increase the speed of the code and set num_threads = -1 (any number other than 1 will break the code).
In bootstrap.py in line 272: "for seed in _np.random.randint(0, 232 - 1, num_threads):" will break as it exceeds the max signed int. If you change it to 231 - 1 it will work fine.
Thanks!

@PhilipMay
Copy link

Hi,
what about this issue? Is this software still maintained by someone?
Just asking because I like to use software that is maintained and fixes bugs when reported.
Thanks
Philip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants