Changeset 1665


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

refs #470: distance_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/distance_test.cc

    r1582 r1665  
    8888  test_distance(eucl_dist, suite, 100);
    8989  double dist=eucl_dist(a.begin(),a.end(),b.begin());
    90   if (!suite.equal(dist, 2.23606797749978988178)) {
     90  if (!suite.equal_fix(dist, 2.23606797749978988178, 1e-16)) {
    9191    suite.err() << "Error in unweighted Euclidean distance " << std::endl;
    9292    suite.add(false);
Note: See TracChangeset for help on using the changeset viewer.