Changeset 1668 for trunk


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

refs #470: ncc_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/ncc_test.cc

    r1587 r1668  
    240240  }
    241241
    242   if (!suite.equal_range(centroids.begin(), centroids.end(),
    243                          ncc.centroids().begin(), 100000)) {
     242  if (!suite.equal_range_fix(centroids.begin(), centroids.end(),
     243                             ncc.centroids().begin(), 1e-11)) {
    244244    suite.add(false);
    245245    suite.err() << "Difference to stored centroids too large\n";
     
    255255  is.close();
    256256
    257   if (!suite.equal_range(result.begin(), result.end(),
    258                          prediction.begin(), 100000)) {
     257  if (!suite.equal_range_fix(result.begin(), result.end(),
     258                             prediction.begin(), 1e-11)) {
    259259    suite.add(false);
    260260    suite.err() << "Difference to stored prediction too large\n";
Note: See TracChangeset for help on using the changeset viewer.