Changeset 1252


Ignore:
Timestamp:
Apr 3, 2008, 4:18:44 PM (13 years ago)
Author:
Peter
Message:

fixing precision issues in test to make tests pass on my linux machine linking against gslblas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/regression_test.cc

    r1251 r1252  
    318318    suite.err() << "difference " << s2-wr.s2(2.0) << std::endl;
    319319  }
    320   if (!suite.equal_sqrt(wr.standard_error2(2000), standard_error2, 10) ){
     320  if (!suite.equal_sqrt(wr.standard_error2(2000), standard_error2, 100) ){
    321321    suite.add(false);
    322322    suite.err() << "Error: standard_error2 not equal after rescaling.\n";
     
    468468    suite.err() << "       s2 = " << mdw.s2(2) << "\n";
    469469  }
    470   if (!suite.equal_sqrt(mdw.standard_error2(z), standard_error2, 10) ){
     470  if (!suite.equal_sqrt(mdw.standard_error2(z), standard_error2, 100) ){
    471471    suite.add(false);
    472472    suite.err() << "Error: standard_error2 not equal after rescaling.\n";
Note: See TracChangeset for help on using the changeset viewer.