diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-27 06:44:25 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-27 06:44:25 +0000 |
commit | 3be1dab1d9b49926c3b1c2fba35e2c8b38fce541 (patch) | |
tree | bac14ac6fc6cf60250976f95e3536e6275a5a20b /scipy/base/src/arrayobject.c | |
parent | 1717eb786e66c890fa93b271d52b4d18dbfa7ee7 (diff) | |
download | numpy-3be1dab1d9b49926c3b1c2fba35e2c8b38fce541.tar.gz |
Removed redundant testing.
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r-- | scipy/base/src/arrayobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scipy/base/src/arrayobject.c b/scipy/base/src/arrayobject.c index 6a90f2508..386c7dc0f 100644 --- a/scipy/base/src/arrayobject.c +++ b/scipy/base/src/arrayobject.c @@ -3564,6 +3564,7 @@ array_shape_set(PyArrayObject *self, PyObject *val) } else self->dimensions=NULL; Py_DECREF(ret); + PyArray_UpdateFlags(self, CONTIGUOUS | FORTRAN); return 0; } |