[Scipy-svn] r6364 - trunk/scipy/sparse/linalg/dsolve

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Apr 30 12:38:37 EDT 2010


Author: ptvirtan
Date: 2010-04-30 11:38:37 -0500 (Fri, 30 Apr 2010)
New Revision: 6364

Modified:
   trunk/scipy/sparse/linalg/dsolve/_superluobject.c
   trunk/scipy/sparse/linalg/dsolve/_superluobject.h
Log:
BUG: sparse.linalg.dsolve: fix a crash bug on 64-bit systems when accessing superluobject.perm_*

Modified: trunk/scipy/sparse/linalg/dsolve/_superluobject.c
===================================================================
--- trunk/scipy/sparse/linalg/dsolve/_superluobject.c	2010-04-29 13:50:35 UTC (rev 6363)
+++ trunk/scipy/sparse/linalg/dsolve/_superluobject.c	2010-04-30 16:38:37 UTC (rev 6364)
@@ -179,9 +179,9 @@
 -----------\n\
 \n\
 shape : 2-tuple\n\
-    the shape of the orginal matrix factored\n                     \
+    the shape of the orginal matrix factored\n\
 nnz : int\n\
-    the number of non zero coefficient of the matrix\n             \
+    the number of non-zero elements in the matrix\n\
 perm_c\n\
     the permutation applied to the colums of the matrix for the LU factorization\n\
 perm_r\n\

Modified: trunk/scipy/sparse/linalg/dsolve/_superluobject.h
===================================================================
--- trunk/scipy/sparse/linalg/dsolve/_superluobject.h	2010-04-29 13:50:35 UTC (rev 6363)
+++ trunk/scipy/sparse/linalg/dsolve/_superluobject.h	2010-04-30 16:38:37 UTC (rev 6364)
@@ -24,7 +24,7 @@
  */
 typedef struct {
     PyObject_VAR_HEAD
-    int m,n;
+    npy_intp m,n;
     SuperMatrix L;
     SuperMatrix U;
     int *perm_r;




More information about the Scipy-svn mailing list