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.
zip
truncates the length of the iterator to the shortest of the two, but this is incorrect fordifference_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 fordifference
was also extended with a case that would trigger this issue.