comparison data/fileio/MatchFileReader.cpp @ 843:e802e550a1f2

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 13:35:08 +0000
parents 1424aa29ae95
children 59e7fe1b1003
comparison
equal deleted inserted replaced
842:23d3a6eca5c3 843:e802e550a1f2
166 if (state < 3) ++state; 166 if (state < 3) ++state;
167 else if (state == 3 && alignment.thisIndex.size() == count) ++state; 167 else if (state == 3 && alignment.thisIndex.size() == count) ++state;
168 } 168 }
169 169
170 if (alignment.thisHopTime == 0.0) { 170 if (alignment.thisHopTime == 0.0) {
171 std::cerr << "ERROR in Match file: this hop time == 0, using 0.01 instead" << std::endl; 171 cerr << "ERROR in Match file: this hop time == 0, using 0.01 instead" << endl;
172 alignment.thisHopTime = 0.01; 172 alignment.thisHopTime = 0.01;
173 } 173 }
174 174
175 if (alignment.refHopTime == 0.0) { 175 if (alignment.refHopTime == 0.0) {
176 std::cerr << "ERROR in Match file: ref hop time == 0, using 0.01 instead" << std::endl; 176 cerr << "ERROR in Match file: ref hop time == 0, using 0.01 instead" << endl;
177 alignment.refHopTime = 0.01; 177 alignment.refHopTime = 0.01;
178 } 178 }
179 179
180 std::cerr << "MatchFileReader: this hop = " << alignment.thisHopTime << ", ref hop = " << alignment.refHopTime << ", this index count = " << alignment.thisIndex.size() << ", ref index count = " << alignment.refIndex.size() << std::endl; 180 cerr << "MatchFileReader: this hop = " << alignment.thisHopTime << ", ref hop = " << alignment.refHopTime << ", this index count = " << alignment.thisIndex.size() << ", ref index count = " << alignment.refIndex.size() << endl;
181 181
182 return alignment; 182 return alignment;
183 } 183 }