[Scipy-svn] r6240 - in trunk/scipy/signal: . tests

scipy-svn@scip... scipy-svn@scip...
Tue Feb 16 21:25:50 CST 2010


Author: cdavid
Date: 2010-02-16 21:25:50 -0600 (Tue, 16 Feb 2010)
New Revision: 6240

Modified:
   trunk/scipy/signal/filter_design.py
   trunk/scipy/signal/tests/test_filter_design.py
Log:
BUG: #1116, thanks to Warren.

Modified: trunk/scipy/signal/filter_design.py
===================================================================
--- trunk/scipy/signal/filter_design.py	2010-02-16 22:54:01 UTC (rev 6239)
+++ trunk/scipy/signal/filter_design.py	2010-02-17 03:25:50 UTC (rev 6240)
@@ -220,7 +220,7 @@
     outb = b * (1.0) / a[0]
     outa = a * (1.0) / a[0]
     if allclose(outb[:,0], 0, rtol=1e-14):
-        warnings.warn("Badly conditionned filter coefficients (numerator): the "
+        warnings.warn("Badly conditioned filter coefficients (numerator): the "
                       "results may be meaningless", BadCoefficients)
         while allclose(outb[:,0], 0, rtol=1e-14) and (outb.shape[-1] > 1):
             outb = outb[:,1:]

Modified: trunk/scipy/signal/tests/test_filter_design.py
===================================================================
--- trunk/scipy/signal/tests/test_filter_design.py	2010-02-16 22:54:01 UTC (rev 6239)
+++ trunk/scipy/signal/tests/test_filter_design.py	2010-02-17 03:25:50 UTC (rev 6240)
@@ -23,7 +23,7 @@
         assert_array_almost_equal(p, p_r)
 
     def test_bad_filter(self):
-        """Regression test for #651: better handling of badly conditionned
+        """Regression test for #651: better handling of badly conditioned
         filter coefficients."""
         warnings.simplefilter("error", BadCoefficients)
         try:



More information about the Scipy-svn mailing list