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

Prevent overflow from use of np.uint32 #1680

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Mar 28, 2024

For larger datasets, we were encountering an integer overflow issue within fabio, since uint32 wasn't large enough to compute the byte offset.

Use a list of python integers instead to avoid this issue.

For larger datasets, we were encountering an integer overflow issue
within fabio, since uint32 wasn't large enough to compute the byte
offset.

Use a list of python integers instead to avoid this issue.

Signed-off-by: Patrick Avery <[email protected]>
@psavery psavery requested a review from bnmajor March 28, 2024 17:29
@psavery psavery merged commit 9911ba6 into master Mar 28, 2024
9 checks passed
@psavery psavery deleted the frame-list-avoid-overflow branch March 28, 2024 17:49
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.

2 participants