diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-25 06:15:40 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-25 06:15:40 +0000 |
commit | 24b485da911fa5b5fe9036ad0b3db341267aee80 (patch) | |
tree | 05f027fd454bcbecfa02414a36a379dde7edbef1 /numpy/core/src/arraymethods.c | |
parent | 1e25ae2b885ed6cd5b087f013bd3c61d4c80a1e4 (diff) | |
download | numpy-24b485da911fa5b5fe9036ad0b3db341267aee80.tar.gz |
Fix optimization so that array's of 1-element are not interpeted as integers.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r-- | numpy/core/src/arraymethods.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c index 0332aab70..070beb6a7 100644 --- a/numpy/core/src/arraymethods.c +++ b/numpy/core/src/arraymethods.c @@ -402,6 +402,9 @@ array_tostring(PyArrayObject *self, PyObject *args, PyObject *kwds) } +/* This should grow an order= keyword to be consistent + */ + static PyObject * array_tofile(PyArrayObject *self, PyObject *args, PyObject *kwds) { |