Ignore:
Timestamp:
Aug 25, 2008, 5:23:42 PM (14 years ago)
Author:
Peter
Message:

fixes #423

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4-stable/test/regression_test.cc

    r1392 r1433  
    487487
    488488  rl.fit(10, 100);
     489  if (rl.x().size()!=1000/10)
     490    return false;
     491  for (size_t i=0; i+1<rl.x().size(); ++i)
     492    if (!suite.equal(rl.x()(i+1)-rl.x()(i),10.0))
     493      return false;
    489494
    490495  utility::Vector y(rl.y_predicted());
     
    493498      return false;
    494499    }
     500
    495501  return true;
    496502}
Note: See TracChangeset for help on using the changeset viewer.