summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Fruchart <fruchart@users.noreply.github.com>2019-05-12 21:01:08 -0500
committerGitHub <noreply@github.com>2019-05-12 21:01:08 -0500
commit28ba5e93869f90bf8e4c6df6418107582946ff93 (patch)
tree7557933fc7929c2138e029962ee6c58904b82242
parent1bfb470031fdbf326c60a27cb4b8032e6c721756 (diff)
downloadnumpy-28ba5e93869f90bf8e4c6df6418107582946ff93.tar.gz
Update numpy/core/src/umath/matmul.c.src
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
-rw-r--r--numpy/core/src/umath/matmul.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/matmul.c.src b/numpy/core/src/umath/matmul.c.src
index c3f7b7c7b..18a82f91e 100644
--- a/numpy/core/src/umath/matmul.c.src
+++ b/numpy/core/src/umath/matmul.c.src
@@ -292,7 +292,7 @@ OBJECT_matmul_inner_noblas(void *_ip1, npy_intp is1_m, npy_intp is1_n,
for (npy_intp n = 0; n < dn; n++) {
PyObject *obj1 = *(PyObject**)ip1, *obj2 = *(PyObject**)ip2;
if (obj1 == NULL) {
- ip1 = Py_None;
+ obj1 = Py_None;
}
if (obj2 == NULL) {
ip2 = Py_None;