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

merge_neighbors: Confusing default distance #109

Open
pcworld opened this issue Jun 11, 2021 · 0 comments
Open

merge_neighbors: Confusing default distance #109

pcworld opened this issue Jun 11, 2021 · 0 comments

Comments

@pcworld
Copy link

pcworld commented Jun 11, 2021

merge_neighbors by default has distance=1, which means that it will merge intervals that have gaps in between them.
This is not what I had intuitively expected after reading the README and skimming the function's documentation.
I would have expected that by default, it would only merge intervals that do not have any gap between them, i.e. that [0,1) and [2,3) would not be merged (but [0,1) and [1,3) would be).

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

No branches or pull requests

1 participant