summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-02-01 23:33:58 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-02-01 23:34:23 -0800
commit68ab983a7ec1acd15e2106959dad86517a8b4037 (patch)
treef41aa2d8e7773cf7055bf562a79afafd12f2920c /numpy/core
parentf0f12f4419194867cc1d89ebf5c978ec62637c6a (diff)
downloadnumpy-68ab983a7ec1acd15e2106959dad86517a8b4037.tar.gz
BUG: Add missing `#define _MULTIARRAYMODULE` to vdot.c
Without this, it fails if one of the includes is changed to import numpy headers.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/src/multiarray/vdot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/multiarray/vdot.c b/numpy/core/src/multiarray/vdot.c
index 4be85672e..424a21710 100644
--- a/numpy/core/src/multiarray/vdot.c
+++ b/numpy/core/src/multiarray/vdot.c
@@ -1,4 +1,5 @@
#define NPY_NO_DEPRECATED_API NPY_API_VERSION
+#define _MULTIARRAYMODULE
#include <Python.h>
#include "common.h"