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

[Suggestion] Throw exception when computing bottleneck distance #134

Open
xgao32 opened this issue Sep 28, 2021 · 0 comments
Open

[Suggestion] Throw exception when computing bottleneck distance #134

xgao32 opened this issue Sep 28, 2021 · 0 comments

Comments

@xgao32
Copy link

xgao32 commented Sep 28, 2021

In line 105 of bottleneck.py, it may be useful to check that ds is not an empty list before doing bdist = ds[-1]

I have a minimal example where such an exception happens and would like to understand what is ds being used for. Thanks.

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