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

scipy-svn@scip... scipy-svn@scip...
Thu Jan 3 13:24:57 CST 2008


Author: stefan
Date: 2008-01-03 13:24:40 -0600 (Thu, 03 Jan 2008)
New Revision: 3772

Modified:
   trunk/scipy/optimize/tests/test_slsqp.py
Log:
Fix failing slsqp test.


Modified: trunk/scipy/optimize/tests/test_slsqp.py
===================================================================
--- trunk/scipy/optimize/tests/test_slsqp.py	2008-01-03 19:21:53 UTC (rev 3771)
+++ trunk/scipy/optimize/tests/test_slsqp.py	2008-01-03 19:24:40 UTC (rev 3772)
@@ -84,7 +84,7 @@
                          ieqcons = [lambda x, y: x[0]-x[1]-1.0],
                          iprint=0, full_output=1)
         x,fx,its,imode,smode = res
-        assert_array_almost_equal(x,[2,1])
+        assert_array_almost_equal(x,[2,1],decimal=3)
 
 if __name__ == "__main__":
     NumpyTest().run()



More information about the Scipy-svn mailing list