-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bitinformation along dimensions of size 2 fails when masked_value given #50
Comments
Yes, this should work, but this is currently implemented as masking the last element in the first dimension to not count bitpairs across boundaries. Hence, right now you're actually counting bitpairs for julia> mask
2×4 BitMatrix:
0 0 0 0
1 1 1 1 where there is no adjacent pairs to count, hence the assertion error. Not the best algorithm I agree, will change this to a loop that doesn't have that problem! |
@JuliaRegistrator register |
Registration pull request created: JuliaRegistries/General/112971 Tip: Release NotesDid you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
To add them here just re-invoke and the PR will be updated. TaggingAfter the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version. This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
|
@JuliaRegistrator register |
Registration pull request created: JuliaRegistries/General/113147 Tip: Release NotesDid you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
To add them here just re-invoke and the PR will be updated. TaggingAfter the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version. This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
|
In observingClouds/xbitinfo#286 popped up a test case, where the dimension along which the bitinformation shall be retrieved has a size of 2. I could trace this back to the Julia implementation:
Shouldn't the last call work?
The text was updated successfully, but these errors were encountered: