Ignore:
Timestamp:
Nov 5, 2008, 12:12:43 AM (13 years ago)
Author:
Peter
Message:

fixing bug in KolmogorovSmirnov::reset. May refs #457 but not in an obvious way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/KolmogorovSmirnov.cc

    r1600 r1612  
    9999
    100100
     101  void KolmogorovSmirnov::reset(void)
     102  {
     103    cached_=false;
     104    data_.clear();
     105    sum_w1_=0;
     106    sum_w2_=0;
     107  }
     108
     109
    101110  double KolmogorovSmirnov::score(void) const
    102111  {
     
    143152
    144153
    145   void KolmogorovSmirnov::reset(void)
    146   {
    147     cached_=false;
    148     sum_w1_=0;
    149     sum_w2_=0;
    150   }
    151 
    152 
    153154  std::ostream& operator<<(std::ostream& os, const KolmogorovSmirnov& ks)
    154155  {
Note: See TracChangeset for help on using the changeset viewer.