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

Fix chunks(countOf: 1) #293

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Conversation

FranzBusch
Copy link
Member

Motivation

We were failing to properly chunk a sequence if the count was 1 since we only checked for count equality on the second element but never the first one.

# Motivation
We were failing to properly chunk a sequence if the count was `1` since we only checked for count equality on the second element but never the first one.
Copy link
Member

@phausler phausler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@FranzBusch FranzBusch merged commit 281e27c into apple:main Sep 19, 2023
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.

2 participants