diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-12-06 01:43:36 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-12-06 01:43:36 +0000 |
commit | 4a7ce99355e8a7860f9782a8f0900234c7fa96ee (patch) | |
tree | c4194cb21d4d2e68d5ad6b0fcf78cbe1259c138b /scipy/f2py/cfuncs.py | |
parent | bcd661e1bd0d478b22341079c7e5fb60c9353cfc (diff) | |
download | numpy-4a7ce99355e8a7860f9782a8f0900234c7fa96ee.tar.gz |
Fixed typo in cfuncs.py
Diffstat (limited to 'scipy/f2py/cfuncs.py')
-rw-r--r-- | scipy/f2py/cfuncs.py | 2 |
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; |