Changeset 173


Ignore:
Timestamp:
Sep 29, 2004, 12:50:09 AM (17 years ago)
Author:
Jari Häkkinen
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NNI.cc

    r172 r173  
    2727  {
    2828    vector<pair<u_int,double> > distance;
    29     for (unsigned int i=0; i<data_.rows(); i++)
     29    for (size_t i=0; i<data_.rows(); i++)
    3030      if (i!=row) {
    3131        double contribs=0;
    3232        pair<u_int,double> this_distance(i,0.0);
    33         for (unsigned int j=0; j<data_.columns(); j++)
     33        for (size_t j=0; j<data_.columns(); j++)
    3434          // 0 contribution for missing values
    3535          if (weight_(i,j) && weight_(row,j)) {
Note: See TracChangeset for help on using the changeset viewer.