[Scipy-svn] r6206 - trunk/scipy/signal

scipy-svn@scip... scipy-svn@scip...
Sun Jan 17 23:06:55 CST 2010


Author: josef
Date: 2010-01-17 23:06:55 -0600 (Sun, 17 Jan 2010)
New Revision: 6206

Modified:
   trunk/scipy/signal/signaltools.py
Log:
signal.correlate correct typo in exception ticket:1088

Modified: trunk/scipy/signal/signaltools.py
===================================================================
--- trunk/scipy/signal/signaltools.py	2010-01-18 04:56:46 UTC (rev 6205)
+++ trunk/scipy/signal/signaltools.py	2010-01-18 05:06:55 UTC (rev 6206)
@@ -115,7 +115,7 @@
             if ps[i] <= 0:
                 raise ValueError("Dimension of x(%d) < y(%d) " \
                                  "not compatible with valid mode" % \
-                                 (x.shape[i], y.shape[i]))
+                                 (in1.shape[i], in2.shape[i]))
 
         z = sigtools._correlateND(in1, in2, out, val)
     else:



More information about the Scipy-svn mailing list