Skip to content

generate random integers directly#2748

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:whycast
Jun 19, 2023
Merged

generate random integers directly#2748
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:whycast

Conversation

@pijyoi
Copy link
Copy Markdown
Contributor

@pijyoi pijyoi commented Jun 17, 2023

Generate random integers using provided apis, rather than by casting from random floats.
Might fix #2645. (Haven't tried it out on the affected platforms)
Tested on a RPI3B 64-bits, numpy 1.24.3

@swt2c
Copy link
Copy Markdown
Contributor

swt2c commented Jun 19, 2023

Tested this on aarch64, ppc64le and s390x - works! 👍

Thanks for the fix!

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Jun 19, 2023

Thanks for the fix @pijyoi and thanks for the testing @swt2c !

@j9ac9k j9ac9k merged commit bde8999 into pyqtgraph:master Jun 19, 2023
@pijyoi pijyoi deleted the whycast branch June 19, 2023 03:48
@pijyoi
Copy link
Copy Markdown
Contributor Author

pijyoi commented Jun 19, 2023

May I add that the fix was simple once @swt2c identified the cause.

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.

test_rescaleData fails on aarch64

3 participants