Changeset 1049
- Timestamp:
- May 6, 2009, 9:20:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.normalizers/trunk/src/c++/bin/qQN.cc
r1047 r1049 135 135 while (getline(is, line)) { 136 136 size_t found=line.find("yes"); 137 137 138 if (found!=std::string::npos) { 139 // use this assay as a part of reference 138 140 for (size_t row=0; row<m.rows(); ++row) 139 141 if (m(row,column).weight()) { // weight either 0 or 1 … … 144 146 m(row,column).data()=0; 145 147 } 148 else 149 // this assay as not a part of the reference but fix nan 150 for (size_t row=0; row<m.rows(); ++row) 151 if (!m(row,column).weight()) // weight either 0 or 1 152 m(row,column).data()=0; 153 146 154 ++column; 147 155 if (column>m.columns())
Note: See TracChangeset
for help on using the changeset viewer.