summaryrefslogtreecommitdiff
path: root/scipy/f2py/cfuncs.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-12-06 01:43:36 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-12-06 01:43:36 +0000
commit4a7ce99355e8a7860f9782a8f0900234c7fa96ee (patch)
treec4194cb21d4d2e68d5ad6b0fcf78cbe1259c138b /scipy/f2py/cfuncs.py
parentbcd661e1bd0d478b22341079c7e5fb60c9353cfc (diff)
downloadnumpy-4a7ce99355e8a7860f9782a8f0900234c7fa96ee.tar.gz
Fixed typo in cfuncs.py
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;