yunruse / Noether

Just another units package
MIT License
9 stars 0 forks source link

Shorthand uncertainty breaks unit display #12

Closed yunruse closed 11 months ago

yunruse commented 1 year ago

Steps

>>> conf.measure_uncertainty_shorthand = True
>>> G

Expected behaviour

The unit should display with an uncertainty.

Actual behaviour

An AssertionError is raised.

yunruse commented 1 year ago

The problem is in the uncertainty function in noether.display, which seems to have problems when float introduces an e.

yunruse commented 11 months ago

I genuinely don't understand what past me meant by this >.<;