Changeset 1174


Ignore:
Timestamp:
Feb 27, 2008, 4:58:22 PM (13 years ago)
Author:
Peter
Message:

removing copy not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/NCC.h

    r1173 r1174  
    235235                                         utility::Matrix& prediction) const
    236236  {
    237     MatrixLookup centroids(centroids_);
    238237    for(size_t j=0; j<test.columns();j++)
    239238      for(size_t k=0; k<centroids_.columns();k++)
    240239        prediction(k,j) = distance_(test.begin_column(j), test.end_column(j),
    241                                     centroids.begin_column(k));
     240                                    centroids_.begin_column(k));
    242241  }
    243242 
Note: See TracChangeset for help on using the changeset viewer.