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

tax_from_mtrs produces NaNs when starting brackets from -np.inf #41

Open
MaxGhenis opened this issue Oct 15, 2019 · 0 comments
Open

tax_from_mtrs produces NaNs when starting brackets from -np.inf #41

MaxGhenis opened this issue Oct 15, 2019 · 0 comments

Comments

@MaxGhenis
Copy link
Collaborator

This produces all NaNs:

mdf.tax_from_mtrs([-1, 0, 1, 1e6, 10e6], [-np.inf, 1e6], [0, 0.01])

It works with a large negative number, e.g.:

mdf.tax_from_mtrs([-1, 0, 1, 1e6, 10e6], [-9e99, 1e6], [0, 0.01])
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