summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-03-16 16:16:18 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-03-16 16:16:18 +0000
commit4506c519cd88710615cb83810b7ddc96773985a4 (patch)
tree7c04acc708ce9aa24e9b76418ed7632277f4a86c /numpy/core/src/arrayobject.c
parent8c9cf9ac2a07e9ebb8dae51a264f708229770624 (diff)
downloadnumpy-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.c2
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;
}