diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-03-07 17:28:10 -0800 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-15 11:42:02 -0700 |
| commit | edb369dc743db66fcd7447bd43da17e5cdddc2c6 (patch) | |
| tree | 374a57c9aae2e4b5e971464b6b578c85223762d5 /numpy/core/include | |
| parent | 7c1438344914eab36dafb50edf349094cae47aae (diff) | |
| download | numpy-edb369dc743db66fcd7447bd43da17e5cdddc2c6.tar.gz | |
WIP: Implement weak scalar logic
Diffstat (limited to 'numpy/core/include')
| -rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index 97e0f4e2a..1db3b974f 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -872,17 +872,6 @@ typedef int (PyArray_FinalizeFunc)(PyArrayObject *, PyObject *); */ #define NPY_ARRAY_ENSUREARRAY 0x0040 -#if defined(NPY_INTERNAL_BUILD) && NPY_INTERNAL_BUILD - /* - * Dual use of the ENSUREARRAY flag, to indicate that this was converted - * from a python float, int, or complex. - * An array using this flag must be a temporary array that can never - * leave the C internals of NumPy. Even if it does, ENSUREARRAY is - * absolutely safe to abuse, since it already is a base class array :). - */ - #define _NPY_ARRAY_WAS_PYSCALAR 0x0040 -#endif /* NPY_INTERNAL_BUILD */ - /* * Make sure that the strides are in units of the element size Needed * for some operations with record-arrays. |
