diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 10:02:03 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 10:02:03 +0000 |
commit | 07a2484e565aeb05a93b0b716160524b42032ab5 (patch) | |
tree | 3994d79fa2a2c30878fe82ff0915f5ef3725cd3e /scipy/base/src/arrayobject.c | |
parent | b5ec235f1e0f149867450dfc3b48386ca1797c05 (diff) | |
download | numpy-07a2484e565aeb05a93b0b716160524b42032ab5.tar.gz |
Fixed bugs.
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 c70c208e5..e07f2f08c 100644 --- a/scipy/base/src/arrayobject.c +++ b/scipy/base/src/arrayobject.c @@ -5888,7 +5888,7 @@ iter_ass_sub_int(PyArrayIterObject *self, PyArrayObject *ind, } ind_it = (PyArrayIterObject *)PyArray_IterNew((PyObject *)ind); if (ind_it == NULL) return -1; - index = self->size; + index = ind_it->size; while(index--) { num = *((intp *)(ind_it->dataptr)); if (num < 0) num += self->size; |