diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-20 15:31:24 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-20 15:31:24 +0100 |
| commit | 52e13840c621764ae855f1a275e2e8ff6d863cfe (patch) | |
| tree | 020f589c9eafc14cade47426e9c4ced5d2dd4037 /numpy/core/src/multiarray | |
| parent | cc6fb9c999594e969a09d44dfb9f08ecd918b96e (diff) | |
| download | numpy-52e13840c621764ae855f1a275e2e8ff6d863cfe.tar.gz | |
MAINT: Rename `initial` to `legacy_initial` in ArrayMethod
It should only be used by the legacy method, so also reflect that
in the field name.
Diffstat (limited to 'numpy/core/src/multiarray')
| -rw-r--r-- | numpy/core/src/multiarray/array_method.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/array_method.h b/numpy/core/src/multiarray/array_method.h index 732f711bc..ef4648443 100644 --- a/numpy/core/src/multiarray/array_method.h +++ b/numpy/core/src/multiarray/array_method.h @@ -229,7 +229,7 @@ typedef struct PyArrayMethodObject_tag { translate_given_descrs_func *translate_given_descrs; translate_loop_descrs_func *translate_loop_descrs; /* Chunk reserved for use by the legacy fallback arraymethod */ - char initial[sizeof(npy_clongdouble)]; /* initial value storage */ + char legacy_initial[sizeof(npy_clongdouble)]; /* initial value storage */ } PyArrayMethodObject; |
