Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 423 Bytes

19135.change.rst

File metadata and controls

10 lines (7 loc) · 423 Bytes

Removed floor division support for complex types

Floor division of complex types will now result in a TypeError

>>> a = np.arange(10) + 1j* np.arange(10)
>>> a // 1
TypeError: ufunc 'floor_divide' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''