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

Possible bug in buffer to_numpy when buffer contains struct size not equal to stride #100

Open
ccummingsNV opened this issue Sep 8, 2024 · 0 comments

Comments

@ccummingsNV
Copy link
Collaborator

Reproduced issue in python by creating a buffer from a type layout describing 2 float3s. Resulting size os 28B (presumably 4B padding), and stride is 32B. to_numpy seemed to transform data so float3s were compacted, but there was garbage at the end. Needs further investigation.

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

No branches or pull requests

1 participant