summaryrefslogtreecommitdiff
path: root/scipy/base/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-09-26 21:11:11 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-09-26 21:11:11 +0000
commit306fc5d6e715f51a3a568a34dccd39c44af757fe (patch)
tree6ce38d8eb9b63725ef355889f7e05fe37ad02a40 /scipy/base/src/arrayobject.c
parent64c9050515e3cfa7ad095299f9648ebc5530a823 (diff)
downloadnumpy-306fc5d6e715f51a3a568a34dccd39c44af757fe.tar.gz
Fixed nasty shape setting bug.
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r--scipy/base/src/arrayobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/src/arrayobject.c b/scipy/base/src/arrayobject.c
index 9490961fc..2ee6197a1 100644
--- a/scipy/base/src/arrayobject.c
+++ b/scipy/base/src/arrayobject.c
@@ -771,7 +771,7 @@ PyArray_FromDims(int nd, int *d, int type)
for (i=0; i<nd; i++) newd[i] = (intp) d[i];
return PyArray_New(&PyArray_Type, nd, newd, type,
- NULL, NULL, 0, 0, NULL);
+ NULL, NULL, 0, CARRAY_FLAGS, NULL);
}
/* end */