[Scipy-svn] r4519 - trunk/scipy/fftpack

scipy-svn@scip... scipy-svn@scip...
Wed Jul 2 02:41:16 CDT 2008


Author: cdavid
Date: 2008-07-02 02:40:52 -0500 (Wed, 02 Jul 2008)
New Revision: 4519

Modified:
   trunk/scipy/fftpack/basic.py
Log:
Correct typo in exception message.

Modified: trunk/scipy/fftpack/basic.py
===================================================================
--- trunk/scipy/fftpack/basic.py	2008-07-01 21:56:12 UTC (rev 4518)
+++ trunk/scipy/fftpack/basic.py	2008-07-02 07:40:52 UTC (rev 4519)
@@ -230,7 +230,7 @@
     else:
         s = tuple(s)
         if len(s) > len(x.shape):
-            raise ValueError("s shape cannot be longer than x shape.")
+            raise ValueError("shape cannot be longer than x shape.")
         for i in range(-len(s),0):
             if x.shape[i]!=s[i]:
                 x = _fix_shape(x,s[i],i)



More information about the Scipy-svn mailing list