[Scipy-svn] r5555 - trunk/scipy/sparse/linalg/isolve

scipy-svn@scip... scipy-svn@scip...
Sun Feb 15 19:42:37 CST 2009


Author: wnbell
Date: 2009-02-15 19:42:32 -0600 (Sun, 15 Feb 2009)
New Revision: 5555

Modified:
   trunk/scipy/sparse/linalg/isolve/iterative.py
Log:
removed old calls to get_matvec


Modified: trunk/scipy/sparse/linalg/isolve/iterative.py
===================================================================
--- trunk/scipy/sparse/linalg/isolve/iterative.py	2009-02-14 22:07:48 UTC (rev 5554)
+++ trunk/scipy/sparse/linalg/isolve/iterative.py	2009-02-16 01:42:32 UTC (rev 5555)
@@ -166,8 +166,6 @@
                 callback(x)
             break
         elif (ijob == 1):
-            if matvec is None:
-                matvec = get_matvec(A)
             work[slice2] *= sclr2
             work[slice2] += sclr1*matvec(work[slice1])
         elif (ijob == 2):
@@ -175,8 +173,6 @@
                 psolve = get_psolve(A)
             work[slice1] = psolve(work[slice2])
         elif (ijob == 3):
-            if matvec is None:
-                matvec = get_matvec(A)
             work[slice2] *= sclr2
             work[slice2] += sclr1*matvec(x)
         elif (ijob == 4):



More information about the Scipy-svn mailing list