diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-26 21:11:11 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-26 21:11:11 +0000 |
commit | 306fc5d6e715f51a3a568a34dccd39c44af757fe (patch) | |
tree | 6ce38d8eb9b63725ef355889f7e05fe37ad02a40 /scipy/base/src/arrayobject.c | |
parent | 64c9050515e3cfa7ad095299f9648ebc5530a823 (diff) | |
download | numpy-306fc5d6e715f51a3a568a34dccd39c44af757fe.tar.gz |
Fixed nasty shape setting bug.
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r-- | scipy/base/src/arrayobject.c | 2 |
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 */ |