Changeset 1731
- Timestamp:
- Jan 16, 2009, 3:50:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/normalizer/qQuantileNormalizer.cc
r1718 r1731 109 109 size_t start=0; 110 110 size_t end=static_cast<unsigned int>(idx(0)); 111 if (end<idx(0)) 112 ++end; 111 113 for (size_t row=start; row<end; ++row) { 112 114 size_t srow=sorted_index[column][row]; … … 116 118 // cspline interpolation for all data between the first and last 117 119 // parts 118 start= static_cast<unsigned int>(idx(0));120 start=end; 119 121 end=static_cast<unsigned int>(idx(target_.size()-1)); 120 122 for (size_t row=start; row<=end; ++row) { … … 125 127 // linear interpolation for last part, i.e., use last diff for 126 128 // all points in the last part. 127 start= static_cast<unsigned int>(idx(target_.size()-1)+1);129 start=end+1; 128 130 end=result.rows(); 129 131 for (size_t row=start; row<end; ++row) {
Note: See TracChangeset
for help on using the changeset viewer.