diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-03-16 16:16:18 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-03-16 16:16:18 +0000 |
commit | 4506c519cd88710615cb83810b7ddc96773985a4 (patch) | |
tree | 7c04acc708ce9aa24e9b76418ed7632277f4a86c /numpy/core/src/arrayobject.c | |
parent | 8c9cf9ac2a07e9ebb8dae51a264f708229770624 (diff) | |
download | numpy-4506c519cd88710615cb83810b7ddc96773985a4.tar.gz |
Expose arrayscalar structure to make scalarmath and other extensions easier to write. Move bool scalar C-API to arrayscalars.h
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 0060fd0fa..859a4d79e 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -790,7 +790,7 @@ PyArray_FromDims(int nd, int *d, int type) */ if (ret && (PyArray_DESCR(ret)->type_num != PyArray_OBJECT)) { memset(PyArray_DATA(ret), 0, PyArray_NBYTES(ret)); - } + } return ret; } |