[Numpy-svn] r8117 - trunk/numpy/polynomial

numpy-svn@scip... numpy-svn@scip...
Wed Feb 17 10:48:08 CST 2010


Author: charris
Date: 2010-02-17 10:48:07 -0600 (Wed, 17 Feb 2010)
New Revision: 8117

Modified:
   trunk/numpy/polynomial/chebyshev.py
   trunk/numpy/polynomial/polynomial.py
Log:
BUG: Import warnings module in polynomial modules.

Modified: trunk/numpy/polynomial/chebyshev.py
===================================================================
--- trunk/numpy/polynomial/chebyshev.py	2010-02-16 18:52:08 UTC (rev 8116)
+++ trunk/numpy/polynomial/chebyshev.py	2010-02-17 16:48:07 UTC (rev 8117)
@@ -69,8 +69,8 @@
 import numpy as np
 import numpy.linalg as la
 import polyutils as pu
+import warnings
 from polytemplate import polytemplate
-from polyutils import RankWarning, PolyError, PolyDomainError
 
 chebtrim = pu.trimcoef
 

Modified: trunk/numpy/polynomial/polynomial.py
===================================================================
--- trunk/numpy/polynomial/polynomial.py	2010-02-16 18:52:08 UTC (rev 8116)
+++ trunk/numpy/polynomial/polynomial.py	2010-02-17 16:48:07 UTC (rev 8117)
@@ -50,6 +50,7 @@
 import numpy as np
 import numpy.linalg as la
 import polyutils as pu
+import warnings
 from polytemplate import polytemplate
 
 polytrim = pu.trimcoef



More information about the Numpy-svn mailing list