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

Don't yield an empty gap for an empty outer range #48

Merged
merged 1 commit into from
Jun 11, 2022

Conversation

jeffparsons
Copy link
Owner

@jeffparsons jeffparsons commented Jun 11, 2022

An empty gap is meaningless, and an empty outer range
has no values that could be considered a gap.

I've also yet again slightly simplified the gaps logic to make
it clearer what's going on.

Fixes #47

An empty gap is meaningless, and an empty outer range
has no values that could be considered a gap.

I've also yet again slightly simplified the gaps logic to make
it clearer what's going on.
@jeffparsons jeffparsons merged commit 4cd78e3 into master Jun 11, 2022
@jeffparsons jeffparsons deleted the fix_empty_gaps branch June 11, 2022 12:45
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.

Breaking change from 1.0.1 to 1.0.2 in gaps()
1 participant