[Spambayes-checkins] spambayes Histogram.py,1.1,1.2

Tim Peters tim_one@users.sourceforge.net
Thu, 03 Oct 2002 19:44:47 -0700


Update of /cvsroot/spambayes/spambayes
In directory usw-pr-cvs1:/tmp/cvs-serv23744

Modified Files:
	Histogram.py 
Log Message:
Braino repair in compute_stats().


Index: Histogram.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Histogram.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Histogram.py	4 Oct 2002 02:29:20 -0000	1.1
--- Histogram.py	4 Oct 2002 02:44:45 -0000	1.2
***************
*** 35,39 ****
          if self.stats_uptodate:
              return
!         stats_uptodate = True
          data = self.data
          n = self.n = len(data)
--- 35,39 ----
          if self.stats_uptodate:
              return
!         self.stats_uptodate = True
          data = self.data
          n = self.n = len(data)