data-apis / array-api-strict

Strict implementation of the Python array API (previously numpy.array_api)
http://data-apis.org/array-api-strict/
Other
11 stars 5 forks source link

Fix issue with repeat() #66

Closed asmeurer closed 1 month ago

asmeurer commented 1 month ago

NumPy does not allow repeats to be uint64 because it refuses to downcast it. Technically it worked before because we implement array and repeat does manually cast in that case. I'm not really sure we should be supporting array actually.