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

Fixed out-of-bounds when generating random on Windows #233

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pco_cli/generate_randoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def lomax05():

@datagen("i64")
def uniform():
return np.random.randint(-(2**63), 2**63, size=max_n)[:n]
return np.random.randint(-(2**63), 2**63, size=max_n, dtype=np.int64)[:n]


# disable the following by default because it's kinda a waste of disk:
Expand Down
Loading