diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-26 14:04:03 +0200 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-26 14:57:52 +0200 |
commit | 9b62c3859f11094b664546e2f4a0fc92ed5c493c (patch) | |
tree | dc0f870527c92cffa13345d9bbfa7ab9457c7103 /numpy/core/arrayprint.py | |
parent | 5665fdcdf21dec575d204852b208eaecf1a1638d (diff) | |
download | numpy-9b62c3859f11094b664546e2f4a0fc92ed5c493c.tar.gz |
MAINT: Refactor internal array creation to also allow dtype preservation
In some cases we know that we want to use the *exact* dtype that we already
have (mainly when taking views). This is also useful internally because there
are very rare code-paths were we even create temporary arrays that contain
subarray dtypes.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions