diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-01-25 13:58:20 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-01-29 06:04:34 -0800 |
commit | 829be860b68ffb9deb8d191531310e00a4c1e198 (patch) | |
tree | c350ee44d8fe37034ba23cb0205d89bb80b014c9 | |
parent | 000f38ff677df466f73d91f22699973faf5c3daf (diff) | |
download | numpy-829be860b68ffb9deb8d191531310e00a4c1e198.tar.gz |
MAINT: Fix `dtypes` to be PyArray_DTypeMeta and not object
-rw-r--r-- | numpy/core/include/numpy/experimental_dtype_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/experimental_dtype_api.h b/numpy/core/include/numpy/experimental_dtype_api.h index 159e76f94..0e2284a99 100644 --- a/numpy/core/include/numpy/experimental_dtype_api.h +++ b/numpy/core/include/numpy/experimental_dtype_api.h @@ -193,7 +193,7 @@ typedef struct { int nin, nout; NPY_CASTING casting; NPY_ARRAYMETHOD_FLAGS flags; - PyObject **dtypes; /* array of DType class objects */ + PyArray_DTypeMeta **dtypes; PyType_Slot *slots; } PyArrayMethod_Spec; |