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

Account for when the lhs of difference_count has a greater length than the lhs #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SkiFire13
Copy link
Contributor

zip truncates the length of the iterator to the shortest of the two, but this is incorrect for difference_count since that might ignore some bits in the tail of the lhs that should be present in the difference. The solution is to include a sum of those. The test for difference was also extended with a case that would trigger this issue.

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.

1 participant