summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuki Sakamoto <kaz@fb.com>2021-12-15 19:26:21 -0800
committerKazuki Sakamoto <kaz@fb.com>2021-12-15 19:26:21 -0800
commitf6e421baa4bcdc2e2975f7852b1400438730e2e9 (patch)
treea937cccb9ee88b061205a0f5279dd166755f1ae0
parent06e37a3e6e48f06a3ff4010b4ad88e4b001184fb (diff)
downloadnumpy-f6e421baa4bcdc2e2975f7852b1400438730e2e9.tar.gz
BUG: Fix PyInit__umath_linalg type
Use PyMODINIT_FUNC instead of PyObject *.
-rw-r--r--numpy/linalg/umath_linalg.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/umath_linalg.c.src b/numpy/linalg/umath_linalg.c.src
index ff63ea218..f8a154445 100644
--- a/numpy/linalg/umath_linalg.c.src
+++ b/numpy/linalg/umath_linalg.c.src
@@ -4396,7 +4396,7 @@ static struct PyModuleDef moduledef = {
NULL
};
-PyObject *PyInit__umath_linalg(void)
+PyMODINIT_FUNC PyInit__umath_linalg(void)
{
PyObject *m;
PyObject *d;