summaryrefslogtreecommitdiff
path: root/scipy/base/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-09-27 06:44:25 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-09-27 06:44:25 +0000
commit3be1dab1d9b49926c3b1c2fba35e2c8b38fce541 (patch)
treebac14ac6fc6cf60250976f95e3536e6275a5a20b /scipy/base/src/arrayobject.c
parent1717eb786e66c890fa93b271d52b4d18dbfa7ee7 (diff)
downloadnumpy-3be1dab1d9b49926c3b1c2fba35e2c8b38fce541.tar.gz
Removed redundant testing.
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r--scipy/base/src/arrayobject.c1
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;
}