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

Int64 Overflow on Simple Conversion #660

Open
ejmeitz opened this issue Jul 4, 2023 · 0 comments
Open

Int64 Overflow on Simple Conversion #660

ejmeitz opened this issue Jul 4, 2023 · 0 comments

Comments

@ejmeitz
Copy link
Contributor

ejmeitz commented Jul 4, 2023

I am trying to do the following unit conversion:
uconvert(u"Å * ps^-2", 1.0u"kcal*Å^-1*g^-1")
but get this error:
ERROR: OverflowError: 10000000000000 * 10000000000 overflowed for type Int64

How can I avoid this? The actual conversion is literally just dividing by 418.4. Is there some way to manually define what this conversion should be?

Similar to #430 #510

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