Ignore:
Timestamp:
Oct 9, 2008, 8:31:34 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Fixes #192. Using std::numeric_limits, since impute algorithms are slightly changed template results also changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/nni_test.cc

    r1487 r1554  
    7373  utility::Matrix control(control_stream);
    7474  control-=knni.imputed_data();
    75   double error_bound = 5e-13;
     75  // error_bound is arbitrarily selected
     76  double error_bound = std::numeric_limits<double>::epsilon()*1e4;
    7677  for (unsigned int i=0; i<control.rows(); i++)
    7778    for (unsigned int j=0; j<control.columns(); j++)
Note: See TracChangeset for help on using the changeset viewer.