summaryrefslogtreecommitdiff
path: root/scipy/f2py/cfuncs.py
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/f2py/cfuncs.py')
-rw-r--r--scipy/f2py/cfuncs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/f2py/cfuncs.py b/scipy/f2py/cfuncs.py
index 19508fe14..f68c93772 100644
--- a/scipy/f2py/cfuncs.py
+++ b/scipy/f2py/cfuncs.py
@@ -869,7 +869,7 @@ static int complex_double_from_pyobj(complex_double* v,PyObject *obj,const char
\t\t\tarr = PyArray_Cast((PyArrayObject *)obj, PyArray_CDOUBLE);
\t\t}
\t\telse {
-\t\t\tarr = PyArray_FromScalar(obj, PyArray_DescrFromType(PyArray_CDOUBLE)));
+\t\t\tarr = PyArray_FromScalar(obj, PyArray_DescrFromType(PyArray_CDOUBLE));
\t\t}
\t\tif (arr==NULL) return 0;
\t\t(*v).r = ((cdouble *)PyArray_DATA(arr))->real;