You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed an issue with regards to angle dimensionality. For one, when working with degrees to some exponent, n, pint does not distinguish degrees ** n from degrees. Furthermore, I can convert to degrees from degrees ** n, but this changes the numbers in a way that is obfuscated.
import pint
ureg = pint.UnitRegistry()
test = 5.0 * ureg('deg')
test_squared = test ** 2
I noticed an issue with regards to angle dimensionality. For one, when working with degrees to some exponent,
n
, pint does not distinguishdegrees ** n
fromdegrees
. Furthermore, I can convert todegrees
fromdegrees ** n
, but this changes the numbers in a way that is obfuscated.Then I get:
The last output has converted
<Quantity(25.0, 'degree')>
to a radian equivalent, which was not the intent.The text was updated successfully, but these errors were encountered: