Changeset 1666


Ignore:
Timestamp:
Dec 20, 2008, 10:18:57 PM (12 years ago)
Author:
Peter
Message:

refs #470: interpolation_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/interpolation_test.cc

    r1661 r1666  
    7979
    8080  for (size_t i=0; i<w.size(); ++i) {
    81     if ( fabs(cspline.evaluate(w(i))-z(i)) > 1e-5) {
     81    if ( !suite.equal_fix(cspline.evaluate(w(i)), z(i), 1e-5) ) {
    8282      suite.err() << "cspline test failed for i=" << i << std::endl;
    8383      suite.err() << " difference between target and interpolation too large: "
Note: See TracChangeset for help on using the changeset viewer.