Skip to content

Commit 1bceaf8

Browse files
committed
MNT: respond to review comments
1 parent c74a960 commit 1bceaf8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

numpy/_core/meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ if use_intel_sort and not fs.exists('src/npysort/x86-simd-sort/README.md')
123123
error('Missing the `x86-simd-sort` git submodule! Run `git submodule update --init` to fix this.')
124124
endif
125125

126+
if not fs.exists('src/common/pythoncapi-compat')
127+
error('Missing the `pythoncapi-compat` git submodule! ' +
128+
'Run `git submodule update --init` to fix this.')
129+
endif
130+
126131
# Check sizes of types. Note, some of these landed in config.h before, but were
127132
# unused. So clean that up and only define the NPY_SIZEOF flavors rather than
128133
# the SIZEOF ones

numpy/_core/src/umath/override.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define NPY_NO_DEPRECATED_API NPY_API_VERSION
2-
#define NO_IMPORT_
2+
#define NO_IMPORT_ARRAY
33

44
#include "numpy/ndarraytypes.h"
55
#include "numpy/ufuncobject.h"

0 commit comments

Comments
 (0)