summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-11-04 15:33:10 +0100
committerSebastian Berg <sebastianb@nvidia.com>2023-01-20 15:28:48 +0100
commit539f226b4a3a90953aa698232f4950bdb2b725b2 (patch)
treee7c206bfb8a59c83ded5a990cb83cbfebf2f79a1 /numpy/core/src
parent83a321cac12970b975fd66011db87dee291edf2c (diff)
downloadnumpy-539f226b4a3a90953aa698232f4950bdb2b725b2.tar.gz
API: Bumpy experimental dtype api version
Its a new version (it changed ;)), plus I took the liberty to move things around a bit ABI wise.
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarray/experimental_public_dtype_api.c2
-rw-r--r--numpy/core/src/umath/reduction.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/experimental_public_dtype_api.c b/numpy/core/src/multiarray/experimental_public_dtype_api.c
index 84507b481..734955ac4 100644
--- a/numpy/core/src/multiarray/experimental_public_dtype_api.c
+++ b/numpy/core/src/multiarray/experimental_public_dtype_api.c
@@ -16,7 +16,7 @@
#include "common_dtype.h"
-#define EXPERIMENTAL_DTYPE_API_VERSION 5
+#define EXPERIMENTAL_DTYPE_API_VERSION 6
typedef struct{
diff --git a/numpy/core/src/umath/reduction.c b/numpy/core/src/umath/reduction.c
index c796795f7..caf4e6fa4 100644
--- a/numpy/core/src/umath/reduction.c
+++ b/numpy/core/src/umath/reduction.c
@@ -6,7 +6,6 @@
*
* See LICENSE.txt for the license.
*/
-#include "array_method.h"
#define NPY_NO_DEPRECATED_API NPY_API_VERSION
#define _MULTIARRAYMODULE
#define _UMATHMODULE
@@ -20,6 +19,7 @@
#include "npy_pycompat.h"
#include "array_assign.h"
#include "array_coercion.h"
+#include "array_method.h"
#include "ctors.h"
#include "numpy/ufuncobject.h"