[Scipy-svn] r3376 - trunk/scipy/sandbox/maskedarray

scipy-svn at scipy.org scipy-svn at scipy.org
Thu Sep 27 11:49:13 EDT 2007


Author: pierregm
Date: 2007-09-27 10:49:05 -0500 (Thu, 27 Sep 2007)
New Revision: 3376

Modified:
   trunk/scipy/sandbox/maskedarray/core.py
Log:
core : fixed arange.

Modified: trunk/scipy/sandbox/maskedarray/core.py
===================================================================
--- trunk/scipy/sandbox/maskedarray/core.py	2007-09-27 15:41:34 UTC (rev 3375)
+++ trunk/scipy/sandbox/maskedarray/core.py	2007-09-27 15:49:05 UTC (rev 3376)
@@ -2653,7 +2653,7 @@
 
 def arange(stop, start=None, step=1, dtype=None):
     "maskedarray version of the numpy function."
-    return numpy.arange(start, stop, step, dtype).view(MaskedArray)
+    return numpy.arange(stop, start, step, dtype).view(MaskedArray)
 arange.__doc__ = numpy.arange.__doc__
 
 def inner(a, b):




More information about the Scipy-svn mailing list