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

numpy-svn@scip... numpy-svn@scip...
Tue Feb 12 20:54:51 CST 2008


Author: charris
Date: 2008-02-12 20:54:50 -0600 (Tue, 12 Feb 2008)
New Revision: 4795

Modified:
   trunk/numpy/core/src/multiarraymodule.c
Log:
Fix some indentation.


Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c	2008-02-13 02:44:43 UTC (rev 4794)
+++ trunk/numpy/core/src/multiarraymodule.c	2008-02-13 02:54:50 UTC (rev 4795)
@@ -2388,13 +2388,13 @@
     PyArray_SortFunc *sort;
     BEGIN_THREADS_DEF
 
-        it = (PyArrayIterObject *)PyArray_IterAllButAxis((PyObject *)op, &axis);
+    it = (PyArrayIterObject *)PyArray_IterAllButAxis((PyObject *)op, &axis);
     swap = !PyArray_ISNOTSWAPPED(op);
     if (it == NULL) return -1;
 
     NPY_BEGIN_THREADS_DESCR(op->descr)
 
-        sort = op->descr->f->sort[which];
+    sort = op->descr->f->sort[which];
     size = it->size;
     N = op->dimensions[axis];
     elsize = op->descr->elsize;
@@ -2454,7 +2454,7 @@
     PyArray_ArgSortFunc *argsort;
     BEGIN_THREADS_DEF
 
-        ret = PyArray_New(op->ob_type, op->nd,
+    ret = PyArray_New(op->ob_type, op->nd,
                           op->dimensions, PyArray_INTP,
                           NULL, NULL, 0, 0, (PyObject *)op);
     if (ret == NULL) return NULL;
@@ -2467,7 +2467,7 @@
 
     NPY_BEGIN_THREADS_DESCR(op->descr)
 
-        argsort = op->descr->f->argsort[which];
+    argsort = op->descr->f->argsort[which];
     size = it->size;
     N = op->dimensions[axis];
     elsize = op->descr->elsize;



More information about the Numpy-svn mailing list