Ignore:
Timestamp:
Jan 6, 2007, 12:02:21 PM (16 years ago)
Author:
Peter
Message:

fixes #167 and #160

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/NaiveWeighted.cc

    r729 r730  
    6868  double NaiveWeighted::standard_error2(const double x) const
    6969  {
    70     return chisq_/((ap_.y_averager().n()-1)*ap_.sum_w());
     70    return chisq_/( (ap_.y_averager().n()-1)*ap_.y_averager().sum_w() );
    7171  }
    7272
Note: See TracChangeset for help on using the changeset viewer.