[Scipy-svn] r2082 - trunk/Lib/sandbox/pysparse/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Jul 12 04:32:57 EDT 2006


Author: stefan
Date: 2006-07-12 03:32:51 -0500 (Wed, 12 Jul 2006)
New Revision: 2082

Modified:
   trunk/Lib/sandbox/pysparse/tests/test_spmatrix.py
Log:
Use numpy.random.rand instead of numpy.rand.


Modified: trunk/Lib/sandbox/pysparse/tests/test_spmatrix.py
===================================================================
--- trunk/Lib/sandbox/pysparse/tests/test_spmatrix.py	2006-07-12 08:28:32 UTC (rev 2081)
+++ trunk/Lib/sandbox/pysparse/tests/test_spmatrix.py	2006-07-12 08:32:51 UTC (rev 2082)
@@ -210,7 +210,7 @@
             y2 = Numeric.zeros(n, 'd')
             for s in range(10):
                 #x = RandomArray.random((m, ))
-                x = numpy.rand((m, ))
+                x = numpy.random.rand((m, ))
                 C.matvec(x, y1)
                 B.matvec(x, t)
                 A.matvec(t, y2)




More information about the Scipy-svn mailing list