diff options
author | mattip <matti.picus@gmail.com> | 2018-10-19 15:38:53 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2018-11-25 12:23:35 -0600 |
commit | 8c9450a7fd69d5b74b47ffec60b5c235361daeff (patch) | |
tree | c8d86a390ff4c167dcf1ff84d17cf189e6ed17c6 /numpy/core/src/common | |
parent | d7e411bcbf4fb8279b4a8485517fd38ce6eb43a9 (diff) | |
download | numpy-8c9450a7fd69d5b74b47ffec60b5c235361daeff.tar.gz |
ENH: make matmul into a ufunc
MAINT: fixes from review
Diffstat (limited to 'numpy/core/src/common')
-rw-r--r-- | numpy/core/src/common/cblasfuncs.c | 2 | ||||
-rw-r--r-- | numpy/core/src/common/cblasfuncs.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/src/common/cblasfuncs.c b/numpy/core/src/common/cblasfuncs.c index 6460c5db1..514297940 100644 --- a/numpy/core/src/common/cblasfuncs.c +++ b/numpy/core/src/common/cblasfuncs.c @@ -182,7 +182,7 @@ _select_matrix_shape(PyArrayObject *array) * This also makes sure that the data segment is aligned with * an itemsize address as well by returning one if not true. */ -static int +NPY_NO_EXPORT int _bad_strides(PyArrayObject *ap) { int itemsize = PyArray_ITEMSIZE(ap); diff --git a/numpy/core/src/common/cblasfuncs.h b/numpy/core/src/common/cblasfuncs.h index 66ce4ca5b..78eff25a0 100644 --- a/numpy/core/src/common/cblasfuncs.h +++ b/numpy/core/src/common/cblasfuncs.h @@ -3,5 +3,7 @@ NPY_NO_EXPORT PyObject * cblas_matrixproduct(int, PyArrayObject *, PyArrayObject *, PyArrayObject *); +NPY_NO_EXPORT int +_bad_strides(PyArrayObject *ap); #endif |