[Scipy-svn] r2565 - trunk/Lib/linsolve/umfpack

scipy-svn at scipy.org scipy-svn at scipy.org
Mon Jan 15 13:11:16 CST 2007


Author: wnbell
Date: 2007-01-15 13:11:14 -0600 (Mon, 15 Jan 2007)
New Revision: 2565

Modified:
   trunk/Lib/linsolve/umfpack/umfpack.py
Log:
Cast do_recipt to boolean



Modified: trunk/Lib/linsolve/umfpack/umfpack.py
===================================================================
--- trunk/Lib/linsolve/umfpack/umfpack.py	2007-01-15 19:01:13 UTC (rev 2564)
+++ trunk/Lib/linsolve/umfpack/umfpack.py	2007-01-15 19:11:14 UTC (rev 2565)
@@ -674,7 +674,7 @@
             U = sp.csc_matrix((Ux,Ui,Up),(min(n_row,n_col),n_col))
             R = Rs
             
-            return (L,U,P,Q,R,do_recip)  
+            return (L,U,P,Q,R,bool(do_recip))  
             
         else:            
             #allocate additional storage for imaginary parts
@@ -702,6 +702,6 @@
             L = sp.csr_matrix((Lxz,Lj,Lp),(n_row,min(n_row,n_col)))
             U = sp.csc_matrix((Uxz,Ui,Up),(min(n_row,n_col),n_col))
             R = Rs
-            
-            return (L,U,P,Q,R,do_recip)  
 
+            return (L,U,P,Q,R,bool(do_recip))
+



More information about the Scipy-svn mailing list