diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-25 21:38:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 21:38:50 +0100 |
commit | b97ca898a461889a5ed3397c4063da1395e029f0 (patch) | |
tree | 3556b7014959b49543702939250350c04a8cb338 /numpy | |
parent | 930addb6dace3988268112ab56fe638d2941a7c3 (diff) | |
parent | 48bbe789f50b8246e9086638be6a6a62ce573b16 (diff) | |
download | numpy-b97ca898a461889a5ed3397c4063da1395e029f0.tar.gz |
Merge pull request #23094 from ngoldbaum/exp-dtype-header-fix
BUG: fix type in resolve_descriptors_function typedef
Diffstat (limited to 'numpy')
-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 86ad15f37..e33df3156 100644 --- a/numpy/core/include/numpy/experimental_dtype_api.h +++ b/numpy/core/include/numpy/experimental_dtype_api.h @@ -289,7 +289,7 @@ typedef NPY_CASTING (resolve_descriptors_function)( /* "method" is currently opaque (necessary e.g. to wrap Python) */ PyObject *method, /* DTypes the method was created for */ - PyObject **dtypes, + PyArray_DTypeMeta **dtypes, /* Input descriptors (instances). Outputs may be NULL. */ PyArray_Descr **given_descrs, /* Exact loop descriptors to use, must not hold references on error */ |