Skip to content

Replace uint with uint64 for improved compatibility - #456

Merged
perlinm merged 2 commits into
qLDPCOrg:mainfrom
SpyroL7:numpy-windows-overflow-fix
Apr 22, 2026
Merged

Replace uint with uint64 for improved compatibility#456
perlinm merged 2 commits into
qLDPCOrg:mainfrom
SpyroL7:numpy-windows-overflow-fix

Conversation

@SpyroL7

@SpyroL7 SpyroL7 commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Fixes a compatibility bug by explicitly setting numpy uint size rather than using OS dependant default. Closes #454

@SpyroL7
SpyroL7 requested a review from perlinm as a code owner April 22, 2026 13:27

@perlinm perlinm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! Just missed one np.uint 🙂

Comment thread src/qldpc/codes/distance.py Outdated
@perlinm
perlinm merged commit ed96d66 into qLDPCOrg:main Apr 22, 2026
3 checks passed
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.

NumPy uint overflow bug on Windows

2 participants