-
Notifications
You must be signed in to change notification settings - Fork 97
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
betadisper throws an error when all distances are zero #372
Comments
There are several other functions that also throw an error. I have now made minimal fixes to In one case there really is a crash situation: |
I have now fixed all issue that I found in branch 0-dist. I haven't merged this yet: please have a look this ( @gavinsimpson). My fix is minimal, and if you want to have more extensive fixes, you can work on your own branch or work on that 0-dist branch before merging it to master. |
Fixed with commit listed above plus more. |
Dear all,
the betadisper crash when all values from the distance matrix is equal to zero.
I did not find where is the error, but I think the function could return zero in this case as do not have dispersion in the data (see code below).
Reproducible example
Possible solution
The text was updated successfully, but these errors were encountered: