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

Floating point error accumulation in contained coalescent trees #63

Open
yasuiniko opened this issue Jul 13, 2016 · 0 comments
Open

Floating point error accumulation in contained coalescent trees #63

yasuiniko opened this issue Jul 13, 2016 · 0 comments

Comments

@yasuiniko
Copy link

When a coalescent tree is contained within a species tree with longest distance to root of N, the longest distances to root in the coalescent tree are slightly longer than N. I believe this can be solved by using Decimal, or at least importing some popular numerical packages so that users can convert their edge lengths to a numerical representation of their choice.

If that is not in line with the vision of the project, please change the documentation in treemodel.py to reflect the types of edge lengths.

Best,
Niko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants