Changeset 173 for trunk/src/NNI.cc
- Timestamp:
- Sep 29, 2004, 12:50:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NNI.cc
r172 r173 27 27 { 28 28 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++) 30 30 if (i!=row) { 31 31 double contribs=0; 32 32 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++) 34 34 // 0 contribution for missing values 35 35 if (weight_(i,j) && weight_(row,j)) {
Note: See TracChangeset
for help on using the changeset viewer.