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
strange behavior for masked_array. i wonder if this is a bug?
importpintimportnumpyasnpunits=pint.UnitRegistry(autoconvert_offset_to_baseunit=False)
# OKnp.ma.masked_array(data=[1], mask=[False]) *units.cm# UnitStrippedWarning: The unit of the quantity is stripped.np.ma.masked_array(data=[1], mask=[False]) *units('cm')
The text was updated successfully, but these errors were encountered:
This can be closed as a duplicate of #633 as @dopplershift mentioned? It wasn't fixed in #905, or the incoming downcast compatibility follow-up, and instead seems to be an upstream issue (numpy/numpy#15200).
strange behavior for masked_array. i wonder if this is a bug?
The text was updated successfully, but these errors were encountered: