Skip to content

Commit

Permalink
MAINT: Define NPY_TARGET_VERSION
Browse files Browse the repository at this point in the history
Currently unused, but should be relevant once we build agains numpy 2.0
  • Loading branch information
BvB93 committed Oct 6, 2023
1 parent ca20cde commit ec7ec33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libint/py_compute_integrals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define PY_SSIZE_T_CLEAN
#define Py_LIMITED_API 0x03080000
#define NPY_NO_DEPRECATED_API NPY_1_17_API_VERSION
#define NPY_TARGET_VERSION NPY_1_17_API_VERSION
#include <Python.h>
#include <numpy/arrayobject.h>

Expand Down

0 comments on commit ec7ec33

Please sign in to comment.