Changeset 2811


Ignore:
Timestamp:
Aug 16, 2012, 4:06:05 PM (9 years ago)
Author:
Jari Häkkinen
Message:

Resolving precision issues on my macbook pro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8-stable/test/regression.cc

    r2370 r2811  
    307307    suite.err() << "       predict = " << wr.predict(2000) << "\n";
    308308  }
    309   if (!suite.equal(wr.s2(2), s2, 1000) ){
     309  if (!suite.equal(wr.s2(2), s2, 14000) ){
    310310    suite.add(false);
    311311    suite.err() << "Error: s2 not equal after rescaling.\n";
     
    324324           << std::endl;
    325325  }
    326   if (!suite.equal(wr.r2(), r2, 1000) ){
     326  if (!suite.equal(wr.r2(), r2, 10000) ){
    327327    suite.add(false);
    328328    suite.err() << "Error: r2 not equal after rescaling.\n";
     
    459459                << mdw.prediction_error2(z,2) << "\n";
    460460  }
    461   if (!suite.equal(mdw.s2(2), s2, 1000) ){
     461  if (!suite.equal(mdw.s2(2), s2, 14000) ){
    462462    suite.add(false);
    463463    suite.err() << "Error: s2 not equal after rescaling.\n";
Note: See TracChangeset for help on using the changeset viewer.