summaryrefslogtreecommitdiff
path: root/scipy/base/src/arraymethods.c
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/base/src/arraymethods.c')
-rw-r--r--scipy/base/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c
index 1b597baf1..55161e941 100644
--- a/scipy/base/src/arraymethods.c
+++ b/scipy/base/src/arraymethods.c
@@ -607,7 +607,7 @@ array_getarray(PyArrayObject *self, PyObject *args)
}
if ((newtype == NULL) || \
- PyArray_EquivalentTypes(self->descr, newtype)) {
+ PyArray_EquivTypes(self->descr, newtype)) {
return (PyObject *)self;
}
else {