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

Inconsistent results with 1-bit packed array #6

Open
guinn8 opened this issue Jan 20, 2022 · 1 comment
Open

Inconsistent results with 1-bit packed array #6

guinn8 opened this issue Jan 20, 2022 · 1 comment

Comments

@guinn8
Copy link

guinn8 commented Jan 20, 2022

I only really know the symptoms of the (possible) bug, no idea about the cause. I'll keep my description high level so others know the gist of the issue, happy to answer additional questions.

I get different results from my program when I use PackedArray *f = PackedArray_create(1, len); vs PackedArray *f = PackedArray_create(2, len);. The only line of code modifying the array is PackedArray_set(f, offset, 1); and as such the number of bits should not matter.

@gpakosz
Copy link
Owner

gpakosz commented Jan 21, 2022

Hello @guinn8,

Can you please share a simple reproducer?

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

2 participants