[Scipy-svn] r2784 - trunk/Lib/sandbox/timeseries

scipy-svn@scip... scipy-svn@scip...
Wed Feb 28 15:19:24 CST 2007


Author: mattknox_ca
Date: 2007-02-28 15:19:21 -0600 (Wed, 28 Feb 2007)
New Revision: 2784

Modified:
   trunk/Lib/sandbox/timeseries/tseries.py
Log:
changed tsmasked constant to use the value 1 instead of 0 (zero was valid for mx.DateTime.DateTime objects, but is not for datetime.datetime objects)

Modified: trunk/Lib/sandbox/timeseries/tseries.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tseries.py	2007-02-28 21:10:23 UTC (rev 2783)
+++ trunk/Lib/sandbox/timeseries/tseries.py	2007-02-28 21:19:21 UTC (rev 2784)
@@ -924,7 +924,7 @@
     "Returns whether the series is a valid TimeSeries object."
     return isinstance(series, TimeSeries)
 
-tsmasked = TimeSeries(masked,dates=Date('D',0))
+tsmasked = TimeSeries(masked,dates=Date('D',1))
 
 ##### --------------------------------------------------------------------------
 #---- ... Additional functions ...



More information about the Scipy-svn mailing list