Skip to content

Version 0.5.0

Latest
Compare
Choose a tag to compare
@mjziebarth mjziebarth released this 22 Sep 17:26

[0.5.0] - 2024-09-22

Added

  • Support for dtype and copy parameters in Quantity._array.
  • Added typing stubs for Unit and Quantity.

Changed

  • Remove use of deprecated numpy.array with copy=False.
  • Removed internal inconsistency in how scalar and array-valued Quantities
    were handled in the Quantity.wrapper() routine. Now, scalar-valued
    quantities can similarly be filled from the C++ side.
  • Prevent NumPy from creating an object array on left-hand multiplication
    by setting __array_ufunc__ = None.