From 23c7be589e17be1fa90850347ec801137bff275e Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Sat, 8 Jul 2006 09:36:50 +0000 Subject: Comment changes. --- numpy/core/src/arrayobject.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/core/src/arrayobject.c') diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 30efc95cf..e440eaf7f 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -4560,6 +4560,8 @@ PyArray_IntpFromSequence(PyObject *seq, intp *vals, int maxvals) /* Check whether the given array is stored contiguously (row-wise) in memory. */ + +/* 0-strided arrays are not contiguous (even if dimension == 1) */ static int _IsContiguous(PyArrayObject *ap) { @@ -4582,6 +4584,7 @@ _IsContiguous(PyArrayObject *ap) } +/* 0-strided arrays are not contiguous (even if dimension == 1) */ static int _IsFortranContiguous(PyArrayObject *ap) { -- cgit v1.2.1