summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-20 19:01:00 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-20 19:01:00 +0000
commit7a8ebd261c37307176bbad175ca60e99aa53fabf (patch)
treeba6b0b33f467e7363e9befaa01184caa88f41816 /numpy/core/src
parent289b1c6c44704de514659452ddb66c3d2e1656ce (diff)
downloadnumpy-7a8ebd261c37307176bbad175ca60e99aa53fabf.tar.gz
Remove sorted from unique1d. Add testall to test if level > 10. Remove compiler warning.
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/multiarraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 4f8c931ca..4dd825ea9 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -4529,7 +4529,7 @@ _convert_from_dict(PyObject *obj, int align)
totalsize = 0;
for(i=0; i<n; i++) {
PyObject *tup, *descr, *index, *item, *name, *off;
- int len, ret, _align;
+ int len, ret, _align=1;
PyArray_Descr *newdescr;
/* Build item to insert (descr, offset, [title])*/