Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Offset is ignored when dividing by UnitScalar #61

Open
JCorson opened this issue Mar 2, 2018 · 0 comments
Open

Offset is ignored when dividing by UnitScalar #61

JCorson opened this issue Mar 2, 2018 · 0 comments
Labels

Comments

@JCorson
Copy link
Contributor

JCorson commented Mar 2, 2018

This seems like an odd behavior. Does it make sense to autoconvert to the base units?

>>> u = UnitScalar(10.0, units='degC')
>>> u
UnitScalar(10.0, units='1.0*K+273.15')
>>> 1/u
UnitScalar(0.1, units='1.0*K**-1')
@JCorson JCorson added the Bug label Mar 2, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant