Ignore:
Timestamp:
Mar 2, 2007, 12:53:03 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Fixes #200.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/regression_test.cc

    r759 r775  
    316316  double standard_error2 = wr.standard_error2(2000);
    317317
    318   w.scale(2);
     318  w*=2;
    319319  wr.fit(x,y,w);
    320320  if (fabs(wr.predict(2000)-predict)>10e-11){
     
    459459  double standard_error2 = mdw.standard_error2(z);
    460460
    461   w.scale(2);
     461  w*=2;
    462462  mdw.fit(data,y,w);
    463463  if (fabs(mdw.predict(z)-predict)>10e-10){
Note: See TracChangeset for help on using the changeset viewer.