From 24b485da911fa5b5fe9036ad0b3db341267aee80 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Wed, 25 Oct 2006 06:15:40 +0000 Subject: Fix optimization so that array's of 1-element are not interpeted as integers. --- numpy/core/src/arraymethods.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/core/src/arraymethods.c') 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) { -- cgit v1.2.1