[Numpy-svn] r3177 - trunk/numpy/core/src
numpy-svn at scipy.org
numpy-svn at scipy.org
Mon Sep 18 16:12:49 EDT 2006
Author: oliphant
Date: 2006-09-18 15:12:21 -0500 (Mon, 18 Sep 2006)
New Revision: 3177
Modified:
trunk/numpy/core/src/ufuncobject.c
Log:
Fix #280
Modified: trunk/numpy/core/src/ufuncobject.c
===================================================================
--- trunk/numpy/core/src/ufuncobject.c 2006-09-18 19:14:35 UTC (rev 3176)
+++ trunk/numpy/core/src/ufuncobject.c 2006-09-18 20:12:21 UTC (rev 3177)
@@ -3212,7 +3212,7 @@
}
else {
PyUFunc_Loop1d *current, *prev=NULL;
- int cmp;
+ int cmp=1;
/* There is already at least 1 loop. Place this one in
lexicographic order. If the next one signature
is exactly like this one, then just replace.
@@ -3235,7 +3235,7 @@
else { /* insert it before the current one
by hacking the internals of cobject to
replace the function pointer ---
- can't use API because destructor is set.
+ can't use CObject API because destructor is set.
*/
funcdata->next = current;
if (prev == NULL) { /* place this at front */
More information about the Numpy-svn
mailing list