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
It would be useful to have magnitudes hashable, to allow them f.e. as a parameter of a function decorated with @functools.cache.
The workaround of using u.mag here is ugly, since it lacks the physical property:
Description
Currently,
u.Magnitude
is not hashable, different fromu.mag
:It would be useful to have magnitudes hashable, to allow them f.e. as a parameter of a function decorated with
@functools.cache
.The workaround of using
u.mag
here is ugly, since it lacks thephysical
property:Specifically I have
The text was updated successfully, but these errors were encountered: