[Numpy-svn] r2788 - trunk/numpy/core/src

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Jul 8 05:36:58 EDT 2006


Author: oliphant
Date: 2006-07-08 04:36:50 -0500 (Sat, 08 Jul 2006)
New Revision: 2788

Modified:
   trunk/numpy/core/src/arrayobject.c
Log:
Comment changes.

Modified: trunk/numpy/core/src/arrayobject.c
===================================================================
--- trunk/numpy/core/src/arrayobject.c	2006-07-08 09:26:41 UTC (rev 2787)
+++ trunk/numpy/core/src/arrayobject.c	2006-07-08 09:36:50 UTC (rev 2788)
@@ -4560,6 +4560,8 @@
 
 /* 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 @@
 }
 
 
+/* 0-strided arrays are not contiguous (even if dimension == 1) */
 static int
 _IsFortranContiguous(PyArrayObject *ap)
 {




More information about the Numpy-svn mailing list