diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-05-31 12:55:33 -0700 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-15 11:42:02 -0700 |
| commit | b148b0f3c38e8d6ef5b714fb5bdd2fad09e7eb10 (patch) | |
| tree | c14e910c6703a77fae18c953306dde9db27f104f /numpy/array_api/_elementwise_functions.py | |
| parent | 419bec8e0440c5eda60c540cd21081349430db7d (diff) | |
| download | numpy-b148b0f3c38e8d6ef5b714fb5bdd2fad09e7eb10.tar.gz | |
MAINT: Add stricter subclass check
The issue is that bools are subclasses of ints, which triggers the
more general problem that we cannot use the `int` abstract dtype
if the input has a concrete dtype associated (e.g. bools, but also
general user defined DTypes in principle)
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions
