diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-22 19:19:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 19:19:08 -0800 |
commit | 41d37b714caa1eef72f984d529f1d40ed48ce535 (patch) | |
tree | 34fe085cab7083ac46c1613567f372b1e2efc2a6 /numpy/array_api/_array_object.py | |
parent | da0de1b3e3a73705f44d9da8cc6c963a90bb4b87 (diff) | |
download | numpy-41d37b714caa1eef72f984d529f1d40ed48ce535.tar.gz |
API: Fix `np.result_type(structured_dtype)` to "canonicalize" (#19346)
This means that the resulting dtype will have all canonical (native
byte order) fields. Also the new fields will be ordered contiguously
in memory without any additional space/padding unless it is necessary
for alignment and the input dtype was `structured_dtype.isalignedstruct`.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions