Ignore:
Timestamp:
Sep 9, 2008, 6:03:15 PM (13 years ago)
Author:
Peter
Message:

refs #396 - removing a constructor in MatrixLookupWeighted? - needed to re-organize tests in ncc_test to track down an error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/distance_test.cc

    r1437 r1483  
    2929#include "yat/statistics/PearsonDistance.h"
    3030#include "yat/utility/Matrix.h"
     31#include "yat/utility/MatrixWeighted.h"
    3132#include "yat/utility/Vector.h"
    3233
     
    227228{
    228229  utility::Matrix x=data();
    229   classifier::MatrixLookupWeighted ml(x);
    230   double dist1 = dist(ml.begin_row(0), ml.end_row(0), ml.begin_row(1));
     230  utility::MatrixWeighted mw(x);
     231  double dist1 = dist(mw.begin_row(0), mw.end_row(0), mw.begin_row(1));
    231232  double dist2 = dist(x.begin_row(0), x.end_row(0), x.begin_row(1));
    232233  check_equality(dist1, dist2, suite, "unity weights", N);
Note: See TracChangeset for help on using the changeset viewer.