Ignore:
Timestamp:
Oct 17, 2006, 1:25:57 AM (15 years ago)
Author:
Jari Häkkinen
Message:

Changing a vector view to be a const view as it should be.

File:
1 edited

Legend:

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

    r680 r685  
    108108    // take care of nan's in centroids
    109109    for(size_t j=0; j<centroids_.columns(); j++) {
    110       utility::vector centroid=utility::vector(centroids_,j,false);
     110      const utility::vector centroid=utility::vector(centroids_,j,false);
    111111      utility::vector wc(centroid.size(),0);
    112112      for(size_t i=0; i<centroid.size(); i++)  {
Note: See TracChangeset for help on using the changeset viewer.