[Scipy-svn] r5276 - trunk/scipy/optimize/tests

scipy-svn@scip... scipy-svn@scip...
Thu Dec 18 14:43:00 CST 2008


Author: ptvirtan
Date: 2008-12-18 14:42:29 -0600 (Thu, 18 Dec 2008)
New Revision: 5276

Modified:
   trunk/scipy/optimize/tests/test_nnls.py
Log:
Adapt nnls test to changed import

Modified: trunk/scipy/optimize/tests/test_nnls.py
===================================================================
--- trunk/scipy/optimize/tests/test_nnls.py	2008-12-18 20:32:14 UTC (rev 5275)
+++ trunk/scipy/optimize/tests/test_nnls.py	2008-12-18 20:42:29 UTC (rev 5276)
@@ -16,7 +16,7 @@
         a=arange(25.0).reshape(-1,5)
         x=arange(5.0)
         y=dot(a,x)
-        x, res= nnls.nnls(a,y)
+        x, res= nnls(a,y)
         assert res<1e-7
         assert norm(dot(a,x)-y)<1e-7
 



More information about the Scipy-svn mailing list